Class Id
java.lang.Object
com.webfirmframework.wffweb.tag.core.AbstractTagBase
com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
com.webfirmframework.wffweb.tag.html.attribute.global.Id
- All Implemented Interfaces:
TagBase,GlobalAttributable,Serializable,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUuid()getValue()protected voidinit()invokes only once per objectvoidTo setUUIDas id value.voidsetValue(double id) value for the id attribute.voidsetValue(float id) value for the id attribute.voidsetValue(int id) value for the id attribute.voidsetValue(long id) value for the id attribute.voidvalue for the id attribute.voidvalue for the id attribute.Methods inherited from class com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute
addAllToAttributeValueMap, addAllToAttributeValueSet, addAllToAttributeValueSet, addToAttributeValueMap, addToAttributeValueSet, addValueChangeListener, beforePrintStructure, beforePrintStructureCompressedByIndex, beforeWffPrintStructure, getAttributeName, getAttributeValue, getAttributeValueMap, getAttributeValueSet, getBinaryStructureCompressedByIndex, getBinaryStructureCompressedByIndex, getCharset, getOwnerTag, getOwnerTags, getPrintStructure, getPrintStructure, getReadLocks, getValueChangeListeners, getWffPrintStructure, getWriteLocks, lockAndGetReadLocks, lockAndGetReadLocksWithAttrLock, lockAndGetWriteLocks, lockAndGetWriteLocksWithAttrLock, removeAllFromAttributeValueMap, removeAllFromAttributeValueSet, removeAllFromAttributeValueSet, removeFromAttributeValueMap, removeFromAttributeValueMap, removeFromAttributeValueMapByKeys, removeFromAttributeValueSet, removeValueChangeListener, replaceAllInAttributeValueSet, replaceAllInAttributeValueSet, setAttributeName, setAttributeValue, setAttributeValue, setAttributeValueMap, setAttributeValueSet, setCharset, setModified, setModifiedLockless, setOwnerTag, setPreIndexedAttribute, toCompressedBytesByIndex, toCompressedBytesByIndex, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString, toWffString, unsetOwnerTagMethods inherited from class com.webfirmframework.wffweb.tag.core.AbstractTagBase
equals, getData, hashCode, isModified, isRebuild, setData, setRebuildMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.webfirmframework.wffweb.tag.core.TagBase
toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toHtmlString, toString
-
Constructor Details
-
Id
public Id()sets with empty value as id=""- Since:
- 1.0.0
-
Id
value for the id attribute.- Parameters:
value-- Since:
- 1.0.0
-
Id
value for the id attribute.- Parameters:
uuid-- Since:
- 1.0.0
-
Id
public Id(int value) value for the id attribute.- Parameters:
value-- Since:
- 1.0.0
-
Id
public Id(float value) value for the id attribute.- Parameters:
value-- Since:
- 1.0.0
-
Id
public Id(long value) value for the id attribute.- Parameters:
value-- Since:
- 1.0.0
-
Id
public Id(double value) value for the id attribute.- Parameters:
value-- Since:
- 1.0.0
-
-
Method Details
-
init
protected void init()invokes only once per object- Since:
- 1.0.0
-
setValue
value for the id attribute.- Parameters:
id-- Since:
- 1.0.0
-
setValue
public void setValue(int id) value for the id attribute.- Parameters:
id-- Since:
- 1.0.0
-
setValue
public void setValue(long id) value for the id attribute.- Parameters:
id-- Since:
- 1.0.0
-
setValue
public void setValue(float id) value for the id attribute.- Parameters:
id-- Since:
- 1.0.0
-
setValue
public void setValue(double id) value for the id attribute.- Parameters:
id-- Since:
- 1.0.0
-
setValue
value for the id attribute.- Parameters:
uuid-- Since:
- 1.0.0
-
getValue
- Returns:
- the value for the attribute set
- Since:
- 1.0.0
-
getUuid
- Returns:
- the
UUIDset byId#setValue(UUID),Id#setUuid(UUID)orId#Id(UUID). - Since:
- 1.0.0
-
setUuid
To setUUIDas id value.- Parameters:
uuid- theUUIDobject- Since:
- 1.0.0
-