public class FeatureDocument extends net.anotheria.asg.data.AbstractASGDocument implements Feature, net.anotheria.util.sorter.IComparable
INT_PROPERTY_MULTILINGUAL_DISABLEDPROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERLINK_PROP_ACCESS_OPERATION, PROP_ACTIVE_IN_PRODUCTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_GUARDS, PROP_ID, PROP_NAME, PROP_OBSOLETE| Constructor and Description |
|---|
FeatureDocument() |
FeatureDocument(FeatureDocument toClone) |
FeatureDocument(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGuardsElement(java.lang.String guard)
Adds a new element to the list.
|
int |
compareTo(Feature comparable) |
int |
compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAccessOperation()
Returns the value of the accessOperation attribute.
|
boolean |
getActiveInProduction()
Returns the value of the activeInProduction attribute.
|
java.lang.String |
getDefinedName() |
java.lang.String |
getDefinedParentName() |
java.lang.String |
getDescription()
Returns the value of the description attribute.
|
boolean |
getEnabled()
Returns the value of the enabled attribute.
|
java.lang.String |
getFootprint() |
java.util.List<java.lang.String> |
getGuards()
Returns the value of the guards attribute.
|
java.lang.String |
getGuardsElement(int index)
Returns the element at the position index in the list.
|
int |
getGuardsSize()
Returns the number of elements in the "guards" container
|
java.lang.String |
getName()
Returns the value of the name attribute.
|
boolean |
getObsolete()
Returns the value of the obsolete attribute.
|
void |
removeGuardsElement(int index)
Removes the element at position index from the list.
|
void |
setAccessOperation(java.lang.String value)
Sets the value of the accessOperation attribute.
|
void |
setActiveInProduction(boolean value)
Sets the value of the activeInProduction attribute.
|
void |
setDescription(java.lang.String value)
Sets the value of the description attribute.
|
void |
setEnabled(boolean value)
Sets the value of the enabled attribute.
|
void |
setGuards(java.util.List<java.lang.String> value)
Sets the value of the guards attribute.
|
void |
setName(java.lang.String value)
Sets the value of the name attribute.
|
void |
setObsolete(boolean value)
Sets the value of the obsolete attribute.
|
void |
swapGuardsElement(int index1,
int index2)
Swaps elements at positions index1 and index2 in the list.
|
java.lang.String |
toString() |
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeaddDataHolder, 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, toXMLNodepublic FeatureDocument()
public FeatureDocument(java.lang.String id)
public FeatureDocument(FeatureDocument toClone)
public java.lang.String getName()
Featurepublic void setName(java.lang.String value)
Featurepublic boolean getEnabled()
FeaturegetEnabled in interface Featurepublic void setEnabled(boolean value)
FeaturesetEnabled in interface Featurepublic boolean getActiveInProduction()
FeaturegetActiveInProduction in interface Featurepublic void setActiveInProduction(boolean value)
FeaturesetActiveInProduction in interface Featurepublic boolean getObsolete()
FeaturegetObsolete in interface Featurepublic void setObsolete(boolean value)
FeaturesetObsolete in interface Featurepublic java.lang.String getDescription()
FeaturegetDescription in interface Featurepublic void setDescription(java.lang.String value)
FeaturesetDescription in interface Featurepublic java.util.List<java.lang.String> getGuards()
Featurepublic void setGuards(java.util.List<java.lang.String> value)
Featurepublic java.lang.String getAccessOperation()
FeaturegetAccessOperation in interface Featurepublic void setAccessOperation(java.lang.String value)
FeaturesetAccessOperation in interface Featurepublic java.lang.String toString()
toString in class net.anotheria.anodoc.data.Documentpublic int getGuardsSize()
FeaturegetGuardsSize in interface Featurepublic void addGuardsElement(java.lang.String guard)
FeatureaddGuardsElement in interface Featurepublic void removeGuardsElement(int index)
FeatureremoveGuardsElement in interface Featurepublic void swapGuardsElement(int index1,
int index2)
FeatureswapGuardsElement in interface Featurepublic java.lang.String getGuardsElement(int index)
FeaturegetGuardsElement in interface Featurepublic int compareTo(Feature comparable)
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method)
compareTo in interface net.anotheria.util.sorter.IComparablepublic java.lang.String getDefinedName()
getDefinedName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getDefinedParentName()
getDefinedParentName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getFootprint()
getFootprint in interface net.anotheria.asg.data.DataObjectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2012-2023 anotheria.net. All Rights Reserved.