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
-
Method Summary
Modifier and TypeMethodDescriptiongetUuid()
getValue()
protected void
init()
invokes only once per objectvoid
To setUUID
as id value.void
setValue
(double id) value for the id attribute.void
setValue
(float id) value for the id attribute.void
setValue
(int id) value for the id attribute.void
setValue
(long id) value for the id attribute.void
value for the id attribute.void
value 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, unsetOwnerTag
Methods inherited from class com.webfirmframework.wffweb.tag.core.AbstractTagBase
equals, getData, hashCode, isModified, isRebuild, setData, setRebuild
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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
UUID
set byId#setValue(UUID)
,Id#setUuid(UUID)
orId#Id(UUID)
. - Since:
- 1.0.0
-
setUuid
To setUUID
as id value.- Parameters:
uuid
- theUUID
object- Since:
- 1.0.0
-