# AbstractLibrary

abstract class AbstractLibrary : AbstractClasspathEntry(source)

Common superclass for the library elements.

#### Since

1.0

#### Inheritors

Variable
Library

## Constructors

AbstractLibrary
Link copied to clipboard
constructor(node: Node, fileReferenceFactory: FileReferenceFactory)
Creates a new `AbstractLibrary`.
constructor(library: FileReference)
Creates a new `AbstractLibrary`.

## Properties

COMPONENT_DEPENDENCY_ATTRIBUTE
Link copied to clipboard
val COMPONENT_DEPENDENCY_ATTRIBUTE: String = "org.eclipse.jst.component.dependency"
The component dependency attribute.
COMPONENT_NON_DEPENDENCY_ATTRIBUTE
Link copied to clipboard
val COMPONENT_NON_DEPENDENCY_ATTRIBUTE: String = "org.eclipse.jst.component.nondependency"
The component non dependency attribute.
javadocPath
Link copied to clipboard
open var javadocPath: FileReference
library
Link copied to clipboard
open var library: FileReference
moduleVersion
Link copied to clipboard
@get: Nullable
open var moduleVersion: ModuleVersionIdentifier
sourcePath
Link copied to clipboard
open var sourcePath: FileReference

## Functions

appendNode
Link copied to clipboard
open fun appendNode(node: Node)
Append node.
equals
Link copied to clipboard
open fun equals(o: Any): Boolean
getAccessRules
Link copied to clipboard
open fun getAccessRules(): Set<AccessRule>
Returns the access rules.
getEntryAttributes
Link copied to clipboard
open fun getEntryAttributes(): Map<String, Any>
Returns the entry attributes.
getKind
Link copied to clipboard
abstract fun getKind(): String
Returns the kind.
getNativeLibraryLocation
Link copied to clipboard
open fun getNativeLibraryLocation(): String
Returns the native library location.
getPath
Link copied to clipboard
open fun getPath(): String
Returns the path.
hashCode
Link copied to clipboard
open fun hashCode(): Int
isExported
Link copied to clipboard
open fun isExported(): Boolean
Returns whether exported is set.
setAccessRules
Link copied to clipboard
open fun setAccessRules(accessRules: Set<AccessRule>)
Sets the access rules.
setExported
Link copied to clipboard
open fun setExported(exported: Boolean)
Sets the exported.
setNativeLibraryLocation
Link copied to clipboard
open fun setNativeLibraryLocation(location: String)
Sets the native library location.
setPath
Link copied to clipboard
open fun setPath(path: String)
Sets the path.
toString
Link copied to clipboard
open fun toString(): String
writeEntryAttributes
Link copied to clipboard
open fun writeEntryAttributes(node: Node)
Write entry attributes.