|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.openmarket.xcelerate.asset.AssetAssociationDefImpl
public final class AssetAssociationDefImpl
Simple implementation of AssetAssociationDef
| Field Summary |
|---|
| Fields inherited from interface com.fatwire.assetapi.def.AssetAssociationDef |
|---|
UnnamedAssociationName |
| Constructor Summary | |
|---|---|
AssetAssociationDefImpl(java.lang.String name,
java.lang.String descr,
java.util.List<java.lang.String> legalChildAssetType,
DependencyTypeEnum depType)
|
|
AssetAssociationDefImpl(java.lang.String name,
java.lang.String descr,
java.lang.String childAssetType,
DependencyTypeEnum depType)
|
|
| 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 childAssetType)
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 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssetAssociationDefImpl(java.lang.String name,
java.lang.String descr,
java.lang.String childAssetType,
DependencyTypeEnum depType)
public AssetAssociationDefImpl(java.lang.String name,
java.lang.String descr,
java.util.List<java.lang.String> legalChildAssetType,
DependencyTypeEnum depType)
| Method Detail |
|---|
public java.lang.String getName()
AssetAssociationDef
getName in interface AssetAssociationDefpublic void setName(java.lang.String name)
AssetAssociationDef
setName in interface AssetAssociationDefname - name of the associationpublic java.lang.String getDescription()
AssetAssociationDef
getDescription in interface AssetAssociationDefpublic void setDescription(java.lang.String desc)
AssetAssociationDef
setDescription in interface AssetAssociationDefdesc - description associated with associationpublic java.util.List<java.lang.String> getLegalChildAssetTypes()
AssetAssociationDef
getLegalChildAssetTypes in interface AssetAssociationDefpublic void setLegalChildAssetTypes(java.util.List<java.lang.String> legalChildAsseTypes)
AssetAssociationDef
setLegalChildAssetTypes in interface AssetAssociationDeflegalChildAsseTypes - the list of asset type names that are legal to this associationpublic java.lang.String getChildAssetType()
AssetAssociationDef
getChildAssetType in interface AssetAssociationDefpublic void setChildAssetType(java.lang.String childAssetType)
AssetAssociationDef
setChildAssetType in interface AssetAssociationDefchildAssetType - child asset type namepublic java.util.List<java.lang.String> getSubTypes()
AssetAssociationDef
getSubTypes in interface AssetAssociationDefpublic void setSubTypes(java.util.List<java.lang.String> subtypes)
AssetAssociationDef
setSubTypes in interface AssetAssociationDefsubtypes - subtype namespublic DependencyTypeEnum getDependencyType()
AssetAssociationDef
getDependencyType in interface AssetAssociationDefpublic void setDependencyType(DependencyTypeEnum type)
AssetAssociationDef
setDependencyType in interface AssetAssociationDeftype - dependency typepublic void setMultiple(boolean multiple)
AssetAssociationDef
setMultiple in interface AssetAssociationDefmultiple - the association value typepublic boolean isMultiple()
AssetAssociationDef
isMultiple in interface AssetAssociationDefpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||