Package org.datanucleus.plugin
Class ExtensionPoint
java.lang.Object
org.datanucleus.plugin.ExtensionPoint
Extension Point declared in a plug-in. Represents the XML declaration.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExtensionPoint
(String id, String name, URL schema, Bundle plugin) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtension
(Extension extension) Accessor for the Plug-in that declared this ExtensionPointgetId()
Accessor for the id of this ExtensionPointgetName()
Accessor for a user friendly nameAccessor to the URL that points to the schema (.xsd) fileAccessor for the pluginId + DOT + id.void
sortExtensions
(Comparator<Extension> comp)
-
Field Details
-
id
unique id * -
name
user friendly name * -
schema
path to schema (xsd) file * -
plugin
declared plugin * -
extensions
Extensions *
-
-
Constructor Details
-
ExtensionPoint
Constructor- Parameters:
id
- the unique idname
- the friendly nameschema
- the path to the schema fileplugin
- the declared plugin
-
-
Method Details
-
getExtensions
-
sortExtensions
-
addExtension
-
getId
Accessor for the id of this ExtensionPoint- Returns:
- the id (relative id)
-
getUniqueId
Accessor for the pluginId + DOT + id.- Returns:
- the absolute id (unique id)
-
getName
Accessor for a user friendly name- Returns:
- the ExtentionPoint name
-
getSchema
Accessor to the URL that points to the schema (.xsd) file- Returns:
- the schema URL
-
getBundle
Accessor for the Plug-in that declared this ExtensionPoint- Returns:
- the Plug-in
-