public interface AssetTypeDef
AssetTypeDef.getAttributeDefs()
AssetTypeDef.getAssociations()
AssetTypeDef.getParentDefs()
AssetTypeDef.getProperties()
AssetTypeDefManager
.Modifier and Type | Method and Description |
---|---|
List<AssetAssociationDef> |
getAssociations()
Gets association definitions for this asset type
|
AttributeDef |
getAttributeDef(String name, boolean isMetaAttribute)
Return the attribute definition for that given name and specified user defined or not type
|
List<AttributeDef> |
getAttributeDefs()
Returns all attribute definitions that make up this asset type definition
|
boolean |
getCanBeChild()
Indicates if instances of this asset type can be a child of instances of other asset types.
|
String |
getDescription()
Gets the description associated with the asset type.
|
String |
getName()
Gets the name of the Asset type
|
List<AttributeDef> |
getParentDefs()
Lists parent definitions for thsi asset type
|
String |
getPlural()
Gets the plural name associated with the asset type.
|
AssetTypeDefProperties |
getProperties()
Returns properties associated with asset type
|
String |
getSubtype()
Returns the name of subtype, if present.
|
void |
setAssociations(List<AssetAssociationDef> associations)
Sets the association definitions of this asset type
|
void |
setAttributeDefs(List<AttributeDef> def)
Sets the list of attribute definitions that the asset type contains
|
void |
setCaBeChild(boolean val)
Sets whether the asset type could be child asset type of other asset types or not
|
void |
setDescription(String desc)
Sets the description of the asset type definition
|
void |
setName(String name)
Sets the asset type
|
void |
setParentDefs(List<AttributeDef> def)
Sets the list of parent definitions
|
void |
setPlural(String pluralname)
Sets the plural name of the asset type
|
void |
setProperties(AssetTypeDefProperties props)
Sets the properties for the asset type
|
void |
setSubtype(String subtype)
Sets the asset subtype
|
String getName()
String getDescription()
String getSubtype()
String getPlural()
boolean getCanBeChild()
List<AttributeDef> getAttributeDefs()
AttributeDef getAttributeDef(String name, boolean isMetaAttribute)
name
- the name of the attributeisMetaAttribute
- whether the attribute is user defined or system, true
indicates it is user defined, false
indicates it is system attributenull
if no attribute defintion found.AssetTypeDefProperties getProperties()
List<AssetAssociationDef> getAssociations()
List<AttributeDef> getParentDefs()
void setName(String name)
name
- the name of the asset typevoid setDescription(String desc)
desc
- the descriptionvoid setSubtype(String subtype)
subtype
- the subtypevoid setPlural(String pluralname)
pluralname
- the pluralvoid setCaBeChild(boolean val)
val
- true if the asset type could be child; false if notvoid setAttributeDefs(List<AttributeDef> def)
def
- the list of attribute definitionsvoid setProperties(AssetTypeDefProperties props)
props
- the AssetTypeDefPropertiesvoid setParentDefs(List<AttributeDef> def)
def
- the list of parent defintionsvoid setAssociations(List<AssetAssociationDef> associations)
associations
- the list of AssetAssocationDefs