public class TypeBean extends BaseBean
true
if the asset type is revision trackedTypeBean.getType()
should match the string returned by the link AssetId getType() method.AssetId
, AssetBean
, Serialized FormConstructor and Description |
---|
TypeBean()
Default constructor does not set a type or sub-type.
|
TypeBean(String type)
Overloaded Constructor which sets only a type.
|
TypeBean(String type, String subtype)
Overloaded Constructor which sets a type and a sub-type.
|
Modifier and Type | Method and Description |
---|---|
String |
getAssetTypeDescription()
Returns the description of the asset type
|
String |
getSubType()
Returns the sub type of an asset.
|
String |
getType()
Returns the type of an asset.
|
boolean |
isFlex() |
Boolean |
isTracked()
Returns true if this asset type is revision tracked.
|
void |
setAssetTypeDescription(String assetTypeDescription)
Set the description of the asset type.
|
void |
setFlex(boolean isFlex) |
void |
setSubType(String subType)
Sets the sub-type for an asset.
|
void |
setTracked(Boolean tracked)
Sets a flag to indicate if the asset type is revision tracked.
|
void |
setType(String type)
Sets the type for an asset.
|
public TypeBean()
public TypeBean(String type)
type
- the type to set.public String getSubType()
public String getType()
public void setType(String type)
type
- the name of the type to set for an asset.public void setSubType(String subType)
subType
- the name of the sub-type to set for an asset.public Boolean isTracked()
public void setTracked(Boolean tracked)
tracked
- the flag to indicate if this asset type is tracked; set to true if the asset type is revision tracked, false otherwise.public String getAssetTypeDescription()
public void setAssetTypeDescription(String assetTypeDescription)
assetTypeDescription
- description of the asset type.public boolean isFlex()
public void setFlex(boolean isFlex)