|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssetAssociationDef
This interface defines an asset association definition.
An asset association definition contains the type of assets permitted and dependency type.
Field Summary | |
---|---|
static java.lang.String |
UnnamedAssociationName
The key associated with unnamed association. |
Method Summary | |
---|---|
java.lang.String |
getChildAssetType()
Returns the child asset type associated with this relationship definition. |
DependencyTypeEnum |
getDependencyType()
Returns dependency type associated with this relationship. |
java.lang.String |
getDescription()
Returns description associated with the association, if any. |
java.util.List<java.lang.String> |
getLegalChildAssetTypes()
Gets the list of legal asset types that this association could hold |
java.lang.String |
getName()
Gets the name of the association |
java.util.List<java.lang.String> |
getSubTypes()
Returns list of subtypes selected for this association. |
boolean |
isMultiple()
Gets the association value type |
void |
setChildAssetType(java.lang.String childAssetTye)
Sets the name of child asset type |
void |
setDependencyType(DependencyTypeEnum type)
Sets dependency type |
void |
setDescription(java.lang.String desc)
Sets the description associated with association |
void |
setLegalChildAssetTypes(java.util.List<java.lang.String> legalChildAsseTypes)
Sets the list of legal asset types that this association could hold |
void |
setMultiple(boolean multiple)
Sets the association type |
void |
setName(java.lang.String name)
Sets the name of the association |
void |
setSubTypes(java.util.List<java.lang.String> subtypes)
Sets subtype names |
Field Detail |
---|
static final java.lang.String UnnamedAssociationName
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String name)
name
- name of the associationjava.lang.String getDescription()
void setDescription(java.lang.String desc)
desc
- description associated with associationjava.util.List<java.lang.String> getLegalChildAssetTypes()
void setLegalChildAssetTypes(java.util.List<java.lang.String> legalChildAsseTypes)
legalChildAsseTypes
- the list of asset type names that are legal to this associationjava.lang.String getChildAssetType()
void setChildAssetType(java.lang.String childAssetTye)
childAssetTye
- child asset type namejava.util.List<java.lang.String> getSubTypes()
void setSubTypes(java.util.List<java.lang.String> subtypes)
subtypes
- subtype namesDependencyTypeEnum getDependencyType()
void setDependencyType(DependencyTypeEnum type)
type
- dependency typevoid setMultiple(boolean multiple)
multiple
- the association value typeboolean isMultiple()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |