Class FeatureDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.asfeature.data.FeatureDocument
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,Feature,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.util.sorter.IComparable
public class FeatureDocument extends net.anotheria.asg.data.AbstractASGDocument implements Feature, net.anotheria.util.sorter.IComparable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.anotheria.asg.data.AbstractASGDocument
INT_PROPERTY_MULTILINGUAL_DISABLED
-
Fields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIER
-
Fields inherited from interface net.anotheria.anosite.gen.asfeature.data.Feature
LINK_PROP_ACCESS_OPERATION, PROP_ACTIVE_IN_PRODUCTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_GUARDS, PROP_ID, PROP_NAME, PROP_OBSOLETE
-
-
Constructor Summary
Constructors Constructor Description FeatureDocument()FeatureDocument(java.lang.String id)FeatureDocument(FeatureDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGuardsElement(java.lang.String guard)Adds a new element to the list.intcompareTo(Feature comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)booleanequals(java.lang.Object o)java.lang.StringgetAccessOperation()Returns the value of the accessOperation attribute.booleangetActiveInProduction()Returns the value of the activeInProduction attribute.java.lang.StringgetDefinedName()java.lang.StringgetDefinedParentName()java.lang.StringgetDescription()Returns the value of the description attribute.booleangetEnabled()Returns the value of the enabled attribute.java.lang.StringgetFootprint()java.util.List<java.lang.String>getGuards()Returns the value of the guards attribute.java.lang.StringgetGuardsElement(int index)Returns the element at the position index in the list.intgetGuardsSize()Returns the number of elements in the "guards" containerjava.lang.StringgetName()Returns the value of the name attribute.booleangetObsolete()Returns the value of the obsolete attribute.voidremoveGuardsElement(int index)Removes the element at position index from the list.voidsetAccessOperation(java.lang.String value)Sets the value of the accessOperation attribute.voidsetActiveInProduction(boolean value)Sets the value of the activeInProduction attribute.voidsetDescription(java.lang.String value)Sets the value of the description attribute.voidsetEnabled(boolean value)Sets the value of the enabled attribute.voidsetGuards(java.util.List<java.lang.String> value)Sets the value of the guards attribute.voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetObsolete(boolean value)Sets the value of the obsolete attribute.voidswapGuardsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.java.lang.StringtoString()-
Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTime
-
Methods inherited from class net.anotheria.anodoc.data.Document
addDataHolder, clone, copyFromBooleanList, copyFromDoubleList, copyFromFloatList, copyFromIntegerList, copyFromLongList, copyFromStringList, copyToBooleanList, copyToDoubleList, copyToFloatList, copyToIntegerList, copyToLongList, copyToStringList, createDocument, createDocumentList, createListProperty, getAuthor, getBoolean, getBooleanProperty, getDataHolder, getDocument, getDocumentAnyCase, getDocumentList, getDocumentListAnyCase, getDouble, getDoubleProperty, getEmptyBoolean, getEmptyDouble, getEmptyFloat, getEmptyInt, getEmptyList, getEmptyLong, getEmptyString, getFloat, getFloatProperty, getInt, getIntProperty, getKeys, getLastUpdateTimestamp, getList, getListProperty, getListPropertyAnyCase, getLong, getLongProperty, getObject, getProperties, getProperty, getPropertyValue, getSizeInBytes, getStorageId, getString, getStringProperty, getTypeIdentifier, putBooleanProperty, putDocument, putDoubleProperty, putFloatProperty, putIntProperty, putList, putListProperty, putLongProperty, putProperty, putStringProperty, removeDataHolder, removeDataHolder, removeProperty, removeProperty, renameTo, setBoolean, setCallContextAuthor, setDouble, setFloat, setInt, setLastUpdateNow, setList, setLong, setString, setTypeIdentifier, toXMLNode
-
-
-
-
Constructor Detail
-
FeatureDocument
public FeatureDocument()
-
FeatureDocument
public FeatureDocument(java.lang.String id)
-
FeatureDocument
public FeatureDocument(FeatureDocument toClone)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:FeatureReturns the value of the name attribute.
-
setName
public void setName(java.lang.String value)
Description copied from interface:FeatureSets the value of the name attribute.
-
getEnabled
public boolean getEnabled()
Description copied from interface:FeatureReturns the value of the enabled attribute.- Specified by:
getEnabledin interfaceFeature
-
setEnabled
public void setEnabled(boolean value)
Description copied from interface:FeatureSets the value of the enabled attribute.- Specified by:
setEnabledin interfaceFeature
-
getActiveInProduction
public boolean getActiveInProduction()
Description copied from interface:FeatureReturns the value of the activeInProduction attribute.- Specified by:
getActiveInProductionin interfaceFeature
-
setActiveInProduction
public void setActiveInProduction(boolean value)
Description copied from interface:FeatureSets the value of the activeInProduction attribute.- Specified by:
setActiveInProductionin interfaceFeature
-
getObsolete
public boolean getObsolete()
Description copied from interface:FeatureReturns the value of the obsolete attribute.- Specified by:
getObsoletein interfaceFeature
-
setObsolete
public void setObsolete(boolean value)
Description copied from interface:FeatureSets the value of the obsolete attribute.- Specified by:
setObsoletein interfaceFeature
-
getDescription
public java.lang.String getDescription()
Description copied from interface:FeatureReturns the value of the description attribute.- Specified by:
getDescriptionin interfaceFeature
-
setDescription
public void setDescription(java.lang.String value)
Description copied from interface:FeatureSets the value of the description attribute.- Specified by:
setDescriptionin interfaceFeature
-
getGuards
public java.util.List<java.lang.String> getGuards()
Description copied from interface:FeatureReturns the value of the guards attribute.
-
setGuards
public void setGuards(java.util.List<java.lang.String> value)
Description copied from interface:FeatureSets the value of the guards attribute.
-
getAccessOperation
public java.lang.String getAccessOperation()
Description copied from interface:FeatureReturns the value of the accessOperation attribute.- Specified by:
getAccessOperationin interfaceFeature
-
setAccessOperation
public void setAccessOperation(java.lang.String value)
Description copied from interface:FeatureSets the value of the accessOperation attribute.- Specified by:
setAccessOperationin interfaceFeature
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getGuardsSize
public int getGuardsSize()
Description copied from interface:FeatureReturns the number of elements in the "guards" container- Specified by:
getGuardsSizein interfaceFeature
-
addGuardsElement
public void addGuardsElement(java.lang.String guard)
Description copied from interface:FeatureAdds a new element to the list.- Specified by:
addGuardsElementin interfaceFeature
-
removeGuardsElement
public void removeGuardsElement(int index)
Description copied from interface:FeatureRemoves the element at position index from the list.- Specified by:
removeGuardsElementin interfaceFeature
-
swapGuardsElement
public void swapGuardsElement(int index1, int index2)Description copied from interface:FeatureSwaps elements at positions index1 and index2 in the list.- Specified by:
swapGuardsElementin interfaceFeature
-
getGuardsElement
public java.lang.String getGuardsElement(int index)
Description copied from interface:FeatureReturns the element at the position index in the list.- Specified by:
getGuardsElementin interfaceFeature
-
compareTo
public int compareTo(Feature comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public java.lang.String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public java.lang.String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public java.lang.String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-