|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.CommunityAssetType
com.ibm.ram.client.RAMCommunityAssetType
public class RAMCommunityAssetType
Overrides a global definition of an asset type in a community. Community administrators can define Community asset types.
| Method Summary | |
|---|---|
RAMAttributeConstraint |
createAttributeConstraint(RAMAssetAttribute attribute,
boolean required)
Creates a new attribute constraint on an 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 |
java.lang.String |
getConfiguration()
Get the configuration string, either null, or empty string, or a valid XMI file contents. |
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
java.lang.String |
getURI()
|
boolean |
isDirty()
Returns true if the Object has been modified from the copy on the server |
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 |
setCommunity(CommunityInformation community)
|
void |
setConfiguration(java.lang.String configuration)
Set the configration string. |
void |
setDescription(java.lang.String description)
|
java.lang.String |
toString()
|
| Methods inherited from class com.ibm.ram.common.data.CommunityAssetType |
|---|
getCommunity, getMasterAssetType, isLocal, setLocal, setMasterAssetType |
| 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 CommunityAssetTypeRAMRuntimeExceptionpublic void setDescription(java.lang.String description)
setDescription in class CommunityAssetTypedescription - The description to set.
public java.lang.String getName()
throws RAMRuntimeException
RAMRuntimeException
public java.lang.String getURI()
throws RAMRuntimeException
RAMRuntimeExceptionpublic boolean isDirty()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setConfiguration(java.lang.String configuration)
setConfiguration in class CommunityAssetTypeconfiguration - The configuration to set.public void setCommunity(CommunityInformation community)
setCommunity in class CommunityAssetTypecommunity - The community to set.public java.lang.String getConfiguration()
getConfiguration in class CommunityAssetTypesetConfiguration(String)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 | ||||||||