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 child asset type
|
void |
setDependencyType(DependencyTypeEnum type)
Sets dependency type
|
void |
setDescription(String desc)
Sets the description associated with 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 associationpublic String getDescription()
AssetAssociationDefgetDescription in interface AssetAssociationDefpublic void setDescription(String desc)
AssetAssociationDefsetDescription in interface AssetAssociationDefdesc - description associated with associationpublic 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 associationpublic String getChildAssetType()
AssetAssociationDefgetChildAssetType in interface AssetAssociationDefpublic void setChildAssetType(String childAssetType)
AssetAssociationDefsetChildAssetType in interface AssetAssociationDefchildAssetType - child asset type namepublic List<String> getSubTypes()
AssetAssociationDefgetSubTypes in interface AssetAssociationDefpublic void setSubTypes(List<String> subtypes)
AssetAssociationDefsetSubTypes in interface AssetAssociationDefsubtypes - subtype namespublic DependencyTypeEnum getDependencyType()
AssetAssociationDefgetDependencyType in interface AssetAssociationDefpublic void setDependencyType(DependencyTypeEnum type)
AssetAssociationDefsetDependencyType in interface AssetAssociationDeftype - dependency typepublic void setMultiple(boolean multiple)
AssetAssociationDefsetMultiple in interface AssetAssociationDefmultiple - the association value typepublic boolean isMultiple()
AssetAssociationDefisMultiple in interface AssetAssociationDef