public final class CSAttributeContent extends CSItemContent
CSAttribute
object.
set/get
methods within CSAttribute
provide access to this content data and so there
should not typically be any need to explicitly use the set/get
methods supplied here.
CSAttribute
,
Serialized FormConstructor and Description |
---|
CSAttributeContent()
Creates an empty
CSAttributeContent object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSAttributeContent object is the same as that
contained within the one supplied. |
CSAttributeType |
getAttributeType()
Gets the parent
CSAttributeType of the attribute. |
int |
getDisplayOrder()
Gets the display order of the attribute.
|
java.lang.String |
getName()
Gets the name of the attribute.
|
void |
setAttributeType(CSAttributeType objAttributeType)
Sets the parent
CSAttributeType of the attribute. |
void |
setDisplayOrder(int nDisplayOrder)
Sets the display order of the attribute.
|
void |
setName(java.lang.String strName)
Sets the name of the attribute.
|
void |
unset()
Clear all the content details of the
CSAttributeContent object. |
clone, getID, setID, toString
public CSAttributeContent()
CSAttributeContent
object.public CSAttributeType getAttributeType()
CSAttributeType
of the attribute.
public void setAttributeType(CSAttributeType objAttributeType)
CSAttributeType
of the attribute.
objAttributeType
- the attribute's parent attribute type.public java.lang.String getName()
public void setName(java.lang.String strName)
strName
- the attribute's name.public int getDisplayOrder()
public void setDisplayOrder(int nDisplayOrder)
nDisplayOrder
- the attribute's display order.public void unset()
CSAttributeContent
object.unset
in class CSItemContent
public boolean equals(java.lang.Object obj)
CSAttributeContent
object is the same as that
contained within the one supplied. Note that the key data used for searching is not tested for equality.
equals
in class CSItemContent
obj
- the CSAttributeContent
to be tested for equality.true
if the data matches, false
otherwise.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.