public interface AssetAssociationDef
Modifier and Type | Field and Description |
---|---|
static String |
UnnamedAssociationName
The key associated with unnamed association.
|
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 childAssetTye)
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
|
static final String UnnamedAssociationName
String getName()
void setName(String name)
name
- name of the associationString getDescription()
void setDescription(String desc)
desc
- description associated with associationList<String> getLegalChildAssetTypes()
void setLegalChildAssetTypes(List<String> legalChildAsseTypes)
legalChildAsseTypes
- the list of asset type names that are legal to this associationString getChildAssetType()
void setChildAssetType(String childAssetTye)
childAssetTye
- child asset type nameList<String> getSubTypes()
void setSubTypes(List<String> subtypes)
subtypes
- subtype namesDependencyTypeEnum getDependencyType()
void setDependencyType(DependencyTypeEnum type)
type
- dependency typevoid setMultiple(boolean multiple)
multiple
- the association value typeboolean isMultiple()