Class BrandFeatureDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.asfeature.data.BrandFeatureDocument
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,BrandFeature,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.util.sorter.IComparable
public class BrandFeatureDocument extends net.anotheria.asg.data.AbstractASGDocument implements BrandFeature, 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.BrandFeature
LINK_PROP_ACCESS_OPERATION, PROP_ACTIVE_IN_PRODUCTION, PROP_BRANDS, PROP_DESCRIPTION, PROP_ENABLED, PROP_GUARDS, PROP_ID, PROP_NAME, PROP_OBSOLETE
-
-
Constructor Summary
Constructors Constructor Description BrandFeatureDocument()BrandFeatureDocument(java.lang.String id)BrandFeatureDocument(BrandFeatureDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBrandsElement(java.lang.String brand)Adds a new element to the list.voidaddGuardsElement(java.lang.String guard)Adds a new element to the list.intcompareTo(BrandFeature 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.util.List<java.lang.String>getBrands()Returns the value of the brands attribute.java.lang.StringgetBrandsElement(int index)Returns the element at the position index in the list.intgetBrandsSize()Returns the number of elements in the "brands" containerjava.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.voidremoveBrandsElement(int index)Removes the element at position index from the list.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.voidsetBrands(java.util.List<java.lang.String> value)Sets the value of the brands 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.voidswapBrandsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.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
-
BrandFeatureDocument
public BrandFeatureDocument()
-
BrandFeatureDocument
public BrandFeatureDocument(java.lang.String id)
-
BrandFeatureDocument
public BrandFeatureDocument(BrandFeatureDocument toClone)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:BrandFeatureReturns the value of the name attribute.- Specified by:
getNamein interfaceBrandFeature
-
setName
public void setName(java.lang.String value)
Description copied from interface:BrandFeatureSets the value of the name attribute.- Specified by:
setNamein interfaceBrandFeature
-
getEnabled
public boolean getEnabled()
Description copied from interface:BrandFeatureReturns the value of the enabled attribute.- Specified by:
getEnabledin interfaceBrandFeature
-
setEnabled
public void setEnabled(boolean value)
Description copied from interface:BrandFeatureSets the value of the enabled attribute.- Specified by:
setEnabledin interfaceBrandFeature
-
getActiveInProduction
public boolean getActiveInProduction()
Description copied from interface:BrandFeatureReturns the value of the activeInProduction attribute.- Specified by:
getActiveInProductionin interfaceBrandFeature
-
setActiveInProduction
public void setActiveInProduction(boolean value)
Description copied from interface:BrandFeatureSets the value of the activeInProduction attribute.- Specified by:
setActiveInProductionin interfaceBrandFeature
-
getObsolete
public boolean getObsolete()
Description copied from interface:BrandFeatureReturns the value of the obsolete attribute.- Specified by:
getObsoletein interfaceBrandFeature
-
setObsolete
public void setObsolete(boolean value)
Description copied from interface:BrandFeatureSets the value of the obsolete attribute.- Specified by:
setObsoletein interfaceBrandFeature
-
getDescription
public java.lang.String getDescription()
Description copied from interface:BrandFeatureReturns the value of the description attribute.- Specified by:
getDescriptionin interfaceBrandFeature
-
setDescription
public void setDescription(java.lang.String value)
Description copied from interface:BrandFeatureSets the value of the description attribute.- Specified by:
setDescriptionin interfaceBrandFeature
-
getGuards
public java.util.List<java.lang.String> getGuards()
Description copied from interface:BrandFeatureReturns the value of the guards attribute.- Specified by:
getGuardsin interfaceBrandFeature
-
setGuards
public void setGuards(java.util.List<java.lang.String> value)
Description copied from interface:BrandFeatureSets the value of the guards attribute.- Specified by:
setGuardsin interfaceBrandFeature
-
getBrands
public java.util.List<java.lang.String> getBrands()
Description copied from interface:BrandFeatureReturns the value of the brands attribute.- Specified by:
getBrandsin interfaceBrandFeature
-
setBrands
public void setBrands(java.util.List<java.lang.String> value)
Description copied from interface:BrandFeatureSets the value of the brands attribute.- Specified by:
setBrandsin interfaceBrandFeature
-
getAccessOperation
public java.lang.String getAccessOperation()
Description copied from interface:BrandFeatureReturns the value of the accessOperation attribute.- Specified by:
getAccessOperationin interfaceBrandFeature
-
setAccessOperation
public void setAccessOperation(java.lang.String value)
Description copied from interface:BrandFeatureSets the value of the accessOperation attribute.- Specified by:
setAccessOperationin interfaceBrandFeature
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getGuardsSize
public int getGuardsSize()
Description copied from interface:BrandFeatureReturns the number of elements in the "guards" container- Specified by:
getGuardsSizein interfaceBrandFeature
-
addGuardsElement
public void addGuardsElement(java.lang.String guard)
Description copied from interface:BrandFeatureAdds a new element to the list.- Specified by:
addGuardsElementin interfaceBrandFeature
-
removeGuardsElement
public void removeGuardsElement(int index)
Description copied from interface:BrandFeatureRemoves the element at position index from the list.- Specified by:
removeGuardsElementin interfaceBrandFeature
-
swapGuardsElement
public void swapGuardsElement(int index1, int index2)Description copied from interface:BrandFeatureSwaps elements at positions index1 and index2 in the list.- Specified by:
swapGuardsElementin interfaceBrandFeature
-
getGuardsElement
public java.lang.String getGuardsElement(int index)
Description copied from interface:BrandFeatureReturns the element at the position index in the list.- Specified by:
getGuardsElementin interfaceBrandFeature
-
getBrandsSize
public int getBrandsSize()
Description copied from interface:BrandFeatureReturns the number of elements in the "brands" container- Specified by:
getBrandsSizein interfaceBrandFeature
-
addBrandsElement
public void addBrandsElement(java.lang.String brand)
Description copied from interface:BrandFeatureAdds a new element to the list.- Specified by:
addBrandsElementin interfaceBrandFeature
-
removeBrandsElement
public void removeBrandsElement(int index)
Description copied from interface:BrandFeatureRemoves the element at position index from the list.- Specified by:
removeBrandsElementin interfaceBrandFeature
-
swapBrandsElement
public void swapBrandsElement(int index1, int index2)Description copied from interface:BrandFeatureSwaps elements at positions index1 and index2 in the list.- Specified by:
swapBrandsElementin interfaceBrandFeature
-
getBrandsElement
public java.lang.String getBrandsElement(int index)
Description copied from interface:BrandFeatureReturns the element at the position index in the list.- Specified by:
getBrandsElementin interfaceBrandFeature
-
compareTo
public int compareTo(BrandFeature 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
-
-