@Exported public final class AssetAssociationDefImpl extends Object implements AssetAssociationDef
UnnamedAssociationName| Constructor and Description |
|---|
AssetAssociationDefImpl(String name,
String descr,
List<String> legalChildAssetType,
DependencyTypeEnum depType) |
AssetAssociationDefImpl(String name,
String descr,
String childAssetType,
DependencyTypeEnum depType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getChildAssetType()
Returns the child asset type associated with this relationship definition.
|
DependencyTypeEnum |
getDependencyType()
Returns dependency type associated with this relationship.
|
String |
getDescription()
Returns description associated with the association, if any.
|
List<String> |
getLegalChildAssetTypes()
Gets the list of legal asset types that this association could hold.
|
String |
getName()
Gets the name of the association.
|
List<String> |
getSubTypes()
Returns list of subtypes selected for this association.
|
boolean |
isMultiple()
Gets the association value type.
|
void |
setChildAssetType(String childAssetType)
Sets the name of a child asset type.
|
void |
setDependencyType(DependencyTypeEnum type)
Sets dependency type.
|
void |
setDescription(String desc)
Sets the description associated with the association.
|
void |
setLegalChildAssetTypes(List<String> legalChildAsseTypes)
Sets the list of legal asset types that this association could hold.
|
void |
setMultiple(boolean multiple)
Sets the association type.
|
void |
setName(String name)
Sets the name of the association.
|
void |
setSubTypes(List<String> subtypes)
Sets subtype names.
|
String |
toString() |
public AssetAssociationDefImpl(String name, String descr, String childAssetType, DependencyTypeEnum depType)
public AssetAssociationDefImpl(String name, String descr, List<String> legalChildAssetType, DependencyTypeEnum depType)
public String getName()
AssetAssociationDefgetName in interface AssetAssociationDefpublic void setName(String name)
AssetAssociationDefsetName in interface AssetAssociationDefname - Name of the association.public String getDescription()
AssetAssociationDefgetDescription in interface AssetAssociationDefpublic void setDescription(String desc)
AssetAssociationDefsetDescription in interface AssetAssociationDefdesc - Description associated with the association.public List<String> getLegalChildAssetTypes()
AssetAssociationDefgetLegalChildAssetTypes in interface AssetAssociationDefpublic void setLegalChildAssetTypes(List<String> legalChildAsseTypes)
AssetAssociationDefsetLegalChildAssetTypes in interface AssetAssociationDeflegalChildAsseTypes - the list of asset type names that are legal to this association.public String getChildAssetType()
AssetAssociationDefgetChildAssetType in interface AssetAssociationDefpublic void setChildAssetType(String childAssetType)
AssetAssociationDefsetChildAssetType in interface AssetAssociationDefchildAssetType - Child asset type name.public List<String> getSubTypes()
AssetAssociationDefgetSubTypes in interface AssetAssociationDefpublic void setSubTypes(List<String> subtypes)
AssetAssociationDefsetSubTypes in interface AssetAssociationDefsubtypes - subtype names.public DependencyTypeEnum getDependencyType()
AssetAssociationDefgetDependencyType in interface AssetAssociationDefpublic void setDependencyType(DependencyTypeEnum type)
AssetAssociationDefsetDependencyType in interface AssetAssociationDeftype - Dependency type.public void setMultiple(boolean multiple)
AssetAssociationDefsetMultiple in interface AssetAssociationDefmultiple - The association value type.public boolean isMultiple()
AssetAssociationDefisMultiple in interface AssetAssociationDef