Package org.cyclos.model.system.scripts
Class CustomScriptVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.NamedEntityVO
-
- org.cyclos.model.system.scripts.CustomScriptVO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityVO>,IEntity,INamedEntity
public class CustomScriptVO extends NamedEntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,CustomScriptVO>GLOBALstatic BasicProperty<ScriptType,CustomScriptVO>TYPE-
Fields inherited from class org.cyclos.model.NamedEntityVO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description CustomScriptVO()CustomScriptVO(Long id)CustomScriptVO(Property<T,? super CustomScriptVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()ScriptTypegetType()booleanisGlobal()voidsetGlobal(boolean global)voidsetType(ScriptType type)-
Methods inherited from class org.cyclos.model.NamedEntityVO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityModel
getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
GLOBAL
public static final BasicProperty<Boolean,CustomScriptVO> GLOBAL
-
TYPE
public static final BasicProperty<ScriptType,CustomScriptVO> TYPE
-
-
Constructor Detail
-
CustomScriptVO
public CustomScriptVO()
-
CustomScriptVO
public CustomScriptVO(Long id)
-
CustomScriptVO
public CustomScriptVO(Property<T,? super CustomScriptVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classNamedEntityVO
-
isGlobal
public boolean isGlobal()
-
setGlobal
public void setGlobal(boolean global)
-
getType
public ScriptType getType()
-
setType
public void setType(ScriptType type)
-
-