|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.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()
AssetAssociationDefgetName in interface AssetAssociationDefpublic void setName(java.lang.String name)
AssetAssociationDefsetName in interface AssetAssociationDefname - name of the associationpublic java.lang.String getDescription()
AssetAssociationDefgetDescription in interface AssetAssociationDefpublic void setDescription(java.lang.String desc)
AssetAssociationDefsetDescription in interface AssetAssociationDefdesc - description associated with associationpublic java.util.List<java.lang.String> getLegalChildAssetTypes()
AssetAssociationDefgetLegalChildAssetTypes in interface AssetAssociationDefpublic void setLegalChildAssetTypes(java.util.List<java.lang.String> legalChildAsseTypes)
AssetAssociationDefsetLegalChildAssetTypes in interface AssetAssociationDeflegalChildAsseTypes - the list of asset type names that are legal to this associationpublic java.lang.String getChildAssetType()
AssetAssociationDefgetChildAssetType in interface AssetAssociationDefpublic void setChildAssetType(java.lang.String childAssetType)
AssetAssociationDefsetChildAssetType in interface AssetAssociationDefchildAssetType - child asset type namepublic java.util.List<java.lang.String> getSubTypes()
AssetAssociationDefgetSubTypes in interface AssetAssociationDefpublic void setSubTypes(java.util.List<java.lang.String> subtypes)
AssetAssociationDefsetSubTypes in interface AssetAssociationDefsubtypes - subtype namespublic DependencyTypeEnum getDependencyType()
AssetAssociationDefgetDependencyType in interface AssetAssociationDefpublic void setDependencyType(DependencyTypeEnum type)
AssetAssociationDefsetDependencyType in interface AssetAssociationDeftype - dependency typepublic void setMultiple(boolean multiple)
AssetAssociationDefsetMultiple in interface AssetAssociationDefmultiple - the association value typepublic boolean isMultiple()
AssetAssociationDefisMultiple 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 | ||||||||
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.