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()
AssetAssociationDef
getName
in interface AssetAssociationDef
public void setName(String name)
AssetAssociationDef
setName
in interface AssetAssociationDef
name
- name of the associationpublic String getDescription()
AssetAssociationDef
getDescription
in interface AssetAssociationDef
public void setDescription(String desc)
AssetAssociationDef
setDescription
in interface AssetAssociationDef
desc
- description associated with associationpublic List<String> getLegalChildAssetTypes()
AssetAssociationDef
getLegalChildAssetTypes
in interface AssetAssociationDef
public void setLegalChildAssetTypes(List<String> legalChildAsseTypes)
AssetAssociationDef
setLegalChildAssetTypes
in interface AssetAssociationDef
legalChildAsseTypes
- the list of asset type names that are legal to this associationpublic String getChildAssetType()
AssetAssociationDef
getChildAssetType
in interface AssetAssociationDef
public void setChildAssetType(String childAssetType)
AssetAssociationDef
setChildAssetType
in interface AssetAssociationDef
childAssetType
- child asset type namepublic List<String> getSubTypes()
AssetAssociationDef
getSubTypes
in interface AssetAssociationDef
public void setSubTypes(List<String> subtypes)
AssetAssociationDef
setSubTypes
in interface AssetAssociationDef
subtypes
- subtype namespublic DependencyTypeEnum getDependencyType()
AssetAssociationDef
getDependencyType
in interface AssetAssociationDef
public void setDependencyType(DependencyTypeEnum type)
AssetAssociationDef
setDependencyType
in interface AssetAssociationDef
type
- dependency typepublic void setMultiple(boolean multiple)
AssetAssociationDef
setMultiple
in interface AssetAssociationDef
multiple
- the association value typepublic boolean isMultiple()
AssetAssociationDef
isMultiple
in interface AssetAssociationDef