|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.AssetType
com.ibm.ram.client.RAMAssetType
public class RAMAssetType
Represents one asset type. Every asset has an AssetType, which classifies the asset.
| Method Summary | |
|---|---|
RAMAttributeConstraint |
createAttributeConstraint(RAMAssetAttribute attribute,
boolean required)
Creates a new attribute constraint on an asset type. |
CommunityAssetType |
createCommunityAssetType(CommunityInformation community)
Returns the list of Community scoped versions of this Asset Type. |
RAMAction |
getAction()
Set the action to be performed on the session object. |
RAMAttributeConstraint[] |
getAttributeConstraints()
Returns the list of attribute constraints set on this asset type |
CommunityAssetType |
getCommunityAssetType(CommunityInformation community)
Returns the list of Community scoped versions of this Asset Type. |
CommunityAssetType[] |
getCommunityAssetTypes()
Returns the list of Community scoped versions of this Asset Type |
java.lang.String |
getConfiguration()
Get the configuration string, either null, or empty string, or a valid XMI file contents. |
java.lang.String |
getDescription()
|
int |
getId()
The internal id of the asset type within the repository. |
java.lang.String |
getName()
|
java.lang.String |
getURI()
|
boolean |
isDirty()
Returns true if the Object has been modified from the copy on the server |
boolean |
isPrivate()
TODO Should these be on the SO obejcts? (non-Javadoc) |
boolean |
isRestricted()
TODO Should these be on the SO obejcts? (non-Javadoc) |
void |
setAction(RAMAction action)
Set the action to be performed when passed to RAMSession#put(IRAMSessionObject, org.eclipse.core.runtime.IProgressMonitor)
Accepts
RAMAction.CREATE
RAMAction.UPDATE
RAMAction.DELETE |
void |
setConfiguration(java.lang.String configuration)
Set the configration string. |
void |
setDescription(java.lang.String description)
|
void |
setId(int id)
|
void |
setName(java.lang.String name)
|
void |
setPrivate(boolean isPrivate)
TODO Should these be on the SO obejcts? |
void |
setRestricted(boolean restricted)
TODO Should these be on the SO obejcts? |
void |
setURI(java.lang.String uri)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public RAMAttributeConstraint createAttributeConstraint(RAMAssetAttribute attribute,
boolean required)
public RAMAttributeConstraint[] getAttributeConstraints()
public java.lang.String getDescription()
throws RAMRuntimeException
getDescription in class AssetTypeRAMRuntimeExceptionpublic void setDescription(java.lang.String description)
setDescription in class AssetTypedescription - The description to set.
public int getId()
throws RAMRuntimeException
AssetType
getId in class AssetTypeRAMRuntimeExceptionpublic void setId(int id)
setId in class AssetTypeid - The id to set.
public java.lang.String getName()
throws RAMRuntimeException
getName in class AssetTypeRAMRuntimeExceptionpublic void setName(java.lang.String name)
setName in class AssetTypename - The name to set.
public java.lang.String getURI()
throws RAMRuntimeException
getURI in class AssetTypeRAMRuntimeExceptionpublic boolean isDirty()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isPrivate()
com.ibm.ram.common.data.AssetType#isPrivate()public boolean isRestricted()
com.ibm.ram.common.data.AssetType#isPrivate()public void setPrivate(boolean isPrivate)
com.ibm.ram.common.data.AssetType#setPrivate(boolean)public void setRestricted(boolean restricted)
com.ibm.ram.common.data.AssetType#setRestricted(boolean)public void setURI(java.lang.String uri)
setURI in class AssetTypeuri - The uri to set.public void setConfiguration(java.lang.String configuration)
configuration - The configuration to set.public java.lang.String getConfiguration()
setConfiguration(String)public CommunityAssetType[] getCommunityAssetTypes()
public CommunityAssetType getCommunityAssetType(CommunityInformation community)
public CommunityAssetType createCommunityAssetType(CommunityInformation community)
public RAMAction getAction()
public void setAction(RAMAction action)
RAMSession#put(IRAMSessionObject, org.eclipse.core.runtime.IProgressMonitor)
Accepts
RAMAction.CREATE
RAMAction.UPDATE
RAMAction.DELETE
action -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||