Package org.datanucleus.plugin
Class ExtensionPoint
- java.lang.Object
-
- org.datanucleus.plugin.ExtensionPoint
-
public class ExtensionPoint extends Object
Extension Point declared in a plug-in. Represents the XML declaration.
-
-
Constructor Summary
Constructors Constructor Description ExtensionPoint(String id, String name, URL schema, Bundle plugin)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExtension(Extension extension)BundlegetBundle()Accessor for the Plug-in that declared this ExtensionPointExtension[]getExtensions()StringgetId()Accessor for the id of this ExtensionPointStringgetName()Accessor for a user friendly nameURLgetSchema()Accessor to the URL that points to the schema (.xsd) fileStringgetUniqueId()Accessor for the pluginId + DOT + id.voidsortExtensions(Comparator<Extension> comp)
-
-
-
Method Detail
-
getExtensions
public Extension[] getExtensions()
-
sortExtensions
public void sortExtensions(Comparator<Extension> comp)
-
addExtension
public void addExtension(Extension extension)
-
getId
public String getId()
Accessor for the id of this ExtensionPoint- Returns:
- the id (relative id)
-
getUniqueId
public String getUniqueId()
Accessor for the pluginId + DOT + id.- Returns:
- the absolute id (unique id)
-
getName
public String getName()
Accessor for a user friendly name- Returns:
- the ExtentionPoint name
-
getSchema
public URL getSchema()
Accessor to the URL that points to the schema (.xsd) file- Returns:
- the schema URL
-
getBundle
public Bundle getBundle()
Accessor for the Plug-in that declared this ExtensionPoint- Returns:
- the Plug-in
-
-