public class CSTemplateAssetContent extends CSItemContent
CSTemplateAsset
object.
CSTemplateAsset
,
Serialized FormConstructor and Description |
---|
CSTemplateAssetContent()
Creates an empty
CSTemplateAssetContent object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSTemplateAssetContent object is the same as that
contained within the one supplied. |
int |
getAssetID()
Gets the ID of the asset.
|
java.util.ArrayList |
getConstraints()
Gets the constraints of the template asset.
|
java.lang.String |
getDescription()
Gets the asset's description.
|
int |
getTemplateID()
Gets the ID of the template the asset is associated with.
|
java.lang.String |
getType()
Gets the type of the asset.
|
void |
setAssetID(int nAssetID)
Sets the ID of the asset.
|
void |
setConstraints(java.util.ArrayList arrConstraints)
Sets the constraints of the template asset.
|
void |
setDescription(java.lang.String strDescription)
Sets the description for the asset.
|
void |
setTemplateID(int nTemplateID)
Sets the ID of the template the asset is associated with.
|
void |
setType(java.lang.String strType)
Sets the type of the asset.
|
java.lang.String |
toString()
Outputs the contents of this
CSTemplateAssetContent object to a String object in a
user-friendly format. |
clone, getID, setID, unset
public CSTemplateAssetContent()
CSTemplateAssetContent
object.public void setAssetID(int nAssetID)
nAssetID
- the numeric identifier of the asset.public int getAssetID()
public void setTemplateID(int nTemplateID)
nTemplateID
- the numeric identifier of the template.public int getTemplateID()
public void setType(java.lang.String strType)
strType
- the asset's type.public java.lang.String getType()
public void setDescription(java.lang.String strDescription)
strDescription
- the asset's description.public java.lang.String getDescription()
public java.util.ArrayList getConstraints()
CSTemplateAssetConstraint
instances.public void setConstraints(java.util.ArrayList arrConstraints)
arrConstraints
- the template asset's constraints, an ArrayList of CSTemplateAssetConstraint
instances.public java.lang.String toString()
CSTemplateAssetContent
object to a String
object in a
user-friendly format.
toString
in class CSItemContent
String
containing the user-friendly output.public boolean equals(java.lang.Object obj)
CSTemplateAssetContent
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 CSTemplateAssetContent
to be tested for equality.true
if the data matches, false
otherwise.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.