Package org.cyclos.entities.system
Class ExtensionPoint
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.system.ExtensionPoint
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,ProcessableForDataTranslation,DefinesNetwork,IEntity,INamedEntity
- Direct Known Subclasses:
ExtensionPointWithGroup,ExtensionPointWithTransferType,ImportExtensionPoint,VoucherExtensionPoint
@Entity public abstract class ExtensionPoint extends NamedEntity implements DefinesNetwork
Base definition for an extension point
-
-
Constructor Summary
Constructors Constructor Description ExtensionPoint()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ExtensionPointNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toCustomScriptgetScript()StringgetScriptParameters()booleanisEnabled()voidsetEnabled(boolean enabled)voidsetNetwork(Network network)voidsetScript(CustomScript script)voidsetScriptParameters(String scriptParameters)-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient
-
-
-
-
Method Detail
-
getNature
public abstract ExtensionPointNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
getScript
public CustomScript getScript()
-
getScriptParameters
public String getScriptParameters()
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setScript
public void setScript(CustomScript script)
-
setScriptParameters
public void setScriptParameters(String scriptParameters)
-
-