@Exported
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 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.
|
static final String UnnamedAssociationName
String getName()
void setName(String name)
name
- Name of the association.String getDescription()
void setDescription(String desc)
desc
- Description associated with the association.List<String> getLegalChildAssetTypes()
void setLegalChildAssetTypes(List<String> legalChildAsseTypes)
legalChildAsseTypes
- the list of asset type names that are legal to this association.String getChildAssetType()
void setChildAssetType(String childAssetTye)
childAssetTye
- Child asset type name.List<String> getSubTypes()
void setSubTypes(List<String> subtypes)
subtypes
- subtype names.DependencyTypeEnum getDependencyType()
void setDependencyType(DependencyTypeEnum type)
type
- Dependency type.void setMultiple(boolean multiple)
multiple
- The association value type.boolean isMultiple()