|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.fatwire.assetapi.def.AssetTypeDefImpl
public final class AssetTypeDefImpl
The default implementation for AssetTypeDef
| Constructor Summary | |
|---|---|
AssetTypeDefImpl() |
|
| Method Summary | |
|---|---|
java.util.List<AssetAssociationDef> |
getAssociations()Gets association definitions for this asset type |
AttributeDef |
getAttributeDef(java.lang.String name, boolean isMetaAttribute)Return the attribute definition for that given name and specified user defined or not type |
java.util.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. |
java.lang.String |
getDescription()Gets the description associated with the asset type. |
java.lang.String |
getName()Gets the name of the Asset type |
java.util.List<AttributeDef> |
getParentDefs()Lists parent definitions for thsi asset type |
java.lang.String |
getPlural()Gets the plural name associated with the asset type. |
AssetTypeDefProperties |
getProperties()Returns properties associated with asset type |
java.lang.String |
getSubtype()Returns the name of subtype, if present. |
void |
setAssociations(java.util.List<AssetAssociationDef> associations)Sets the association definitions of this asset type |
void |
setAttributeDefs(java.util.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(java.lang.String descr)Sets the description of the asset type definition |
void |
setName(java.lang.String name)Sets the asset type |
void |
setParentDefs(java.util.List<AttributeDef> def)Sets the list of parent definitions |
void |
setPlural(java.lang.String pluralname)Sets the plural name of the asset type |
void |
setProperties(AssetTypeDefProperties props)Sets the properties for the asset type |
void |
setSubtype(java.lang.String subtype)Sets the asset subtype |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssetTypeDefImpl()
| Method Detail |
|---|
public java.lang.String getName()
AssetTypeDefgetName in interface AssetTypeDefpublic java.lang.String getDescription()
AssetTypeDefgetDescription in interface AssetTypeDefpublic java.lang.String getSubtype()
AssetTypeDefgetSubtype in interface AssetTypeDefpublic java.lang.String getPlural()
AssetTypeDefgetPlural in interface AssetTypeDefpublic boolean getCanBeChild()
AssetTypeDefgetCanBeChild in interface AssetTypeDefpublic java.util.List<AttributeDef> getAttributeDefs()
AssetTypeDefgetAttributeDefs in interface AssetTypeDef
public AttributeDef getAttributeDef(java.lang.String name,
boolean isMetaAttribute)
AssetTypeDefgetAttributeDef in interface AssetTypeDefname - 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.public AssetTypeDefProperties getProperties()
AssetTypeDefgetProperties in interface AssetTypeDefpublic java.util.List<AssetAssociationDef> getAssociations()
AssetTypeDefgetAssociations in interface AssetTypeDefpublic java.util.List<AttributeDef> getParentDefs()
AssetTypeDefgetParentDefs in interface AssetTypeDefpublic void setName(java.lang.String name)
AssetTypeDefsetName in interface AssetTypeDefname - the name of the asset typepublic void setDescription(java.lang.String descr)
AssetTypeDefsetDescription in interface AssetTypeDefdescr - the descriptionpublic void setSubtype(java.lang.String subtype)
AssetTypeDefsetSubtype in interface AssetTypeDefsubtype - the subtypepublic void setPlural(java.lang.String pluralname)
AssetTypeDefsetPlural in interface AssetTypeDefpluralname - the pluralpublic void setCaBeChild(boolean val)
AssetTypeDefsetCaBeChild in interface AssetTypeDefval - true if the asset type could be child; false if notpublic void setAttributeDefs(java.util.List<AttributeDef> def)
AssetTypeDefsetAttributeDefs in interface AssetTypeDefdef - the list of attribute definitionspublic void setProperties(AssetTypeDefProperties props)
AssetTypeDefsetProperties in interface AssetTypeDefprops - the AssetTypeDefPropertiespublic void setParentDefs(java.util.List<AttributeDef> def)
AssetTypeDefsetParentDefs in interface AssetTypeDefdef - the list of parent defintionspublic void setAssociations(java.util.List<AssetAssociationDef> associations)
AssetTypeDefsetAssociations in interface AssetTypeDefassociations - the list of AssetAssocationDefspublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.