|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.AssetInformation
com.ibm.ram.common.data.Asset
public class Asset
Represents an asset that is managed by Rational Asset Manager
| Constructor Summary | |
|---|---|
Asset()
|
|
| Method Summary | |
|---|---|
Action |
getAction()
|
FolderArtifact |
getArtifactsRoot()
A folder artifact the is the root of all artifacts contained in the asset. |
AssetAttribute |
getAssetAttribute(java.lang.String name)
Return a custom attribute by name for this Asset |
AssetAttribute[] |
getAssetAttributes()
Returns the list of asset attributes available to this asset. |
AssetType |
getAssetType()
Get the Asset Type object |
CategorySchema |
getCategorySchema(java.lang.String name)
Returns a category schema set on this asset by name |
CategorySchema[] |
getCategorySchemas()
Returns a list of category schemas set on this asset. |
CommunityInformation |
getCommunity()
Returns the community this asset belongs to. |
java.lang.String |
getCommunityName()
|
PersonTime |
getCreationTime()
Returns the amount of PersonTime taken to create this asset. |
java.lang.String |
getDescription()
Returns the description of this asset. |
Forum[] |
getForums()
Returns the Forums available to this asset. |
java.lang.String |
getInternalResourceURI()
Return the URL of the internal XML Resource representation of this asset. |
UserInformation[] |
getOwners()
Returns the owners of this asset |
AssetRatings |
getRatings()
The Asset's user ratings and feedback |
Relationship[] |
getRelationships()
Returns the relationships. |
java.lang.String |
getResourceURI()
Return the URL of the XML Resource representation of this asset. |
State |
getState()
Returns the State of the asset |
int |
getStateID()
If state object is not null the id of the state object is used. |
java.lang.String |
getStateName()
If state object is not null the name of the state object is used. |
AssetTag[] |
getTags()
Returns the tags associated with an asset |
java.lang.String |
getTypeName()
|
PersonTime |
getUsageTime()
Returns the amount of time this asset has been utilized. |
void |
setAction(Action action)
|
void |
setArtifactsRoot(FolderArtifact root)
|
void |
setAssetAttributes(AssetAttribute[] customAttributes)
Set the set of asset attributes on this asset. |
void |
setAssetType(AssetType assetType)
Set the Asset Type |
void |
setCategorySchemas(CategorySchema[] schemas)
Set the set of CategorySchema to be applied to this asset. |
void |
setCommunity(CommunityInformation group)
Set the community this asset belongs to. |
void |
setCreationTime(PersonTime creationTime)
Set the amount of time it took to create this asset. |
void |
setDescription(java.lang.String description)
Set the description of this asset. |
void |
setForums(Forum[] forums)
Set the forums for this asset. |
void |
setOwners(UserInformation[] owners)
Set the owners of this asset. |
void |
setRatings(AssetRatings ratings)
Set the rating on this asset. |
void |
setRelationships(Relationship[] relationships)
Set the list of asset relationships for this asset. |
void |
setState(State state)
Set the state of this asset. |
void |
setTags(AssetTag[] tags)
Set the tags for this asset. |
void |
setUsageTime(PersonTime usageTime)
Set the amount of time this asset was utilized. |
java.lang.String |
toString()
|
| Methods inherited from class com.ibm.ram.common.data.AssetInformation |
|---|
getAverageRating, getGUID, getIdentification, getLastModified, getMainAssetId, getManagementStyle, getName, getPendingAssetId, getShortDescription, getVersion, setAverageRating, setCommunityName, setGUID, setIdentification, setLastModified, setMainAssetId, setManagementStyle, setName, setPendingAssetId, setShortDescription, setStateID, setStateName, setTypeName, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Asset()
| Method Detail |
|---|
public AssetAttribute getAssetAttribute(java.lang.String name)
public PersonTime getCreationTime()
public void setCreationTime(PersonTime creationTime)
public PersonTime getUsageTime()
public void setUsageTime(PersonTime usageTime)
public FolderArtifact getArtifactsRoot()
public void setArtifactsRoot(FolderArtifact root)
public CategorySchema[] getCategorySchemas()
public CategorySchema getCategorySchema(java.lang.String name)
name - public void setCategorySchemas(CategorySchema[] schemas)
public Relationship[] getRelationships()
public void setRelationships(Relationship[] relationships)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public CommunityInformation getCommunity()
public java.lang.String getCommunityName()
getCommunityName in class AssetInformationpublic void setCommunity(CommunityInformation group)
public AssetType getAssetType()
public java.lang.String getTypeName()
getTypeName in class AssetInformationpublic void setAssetType(AssetType assetType)
public UserInformation[] getOwners()
public void setOwners(UserInformation[] owners)
public State getState()
public void setState(State state)
public int getStateID()
getStateID in class AssetInformationpublic java.lang.String getStateName()
getStateName in class AssetInformationpublic Action getAction()
public void setAction(Action action)
action - The action to set.public AssetTag[] getTags()
public void setTags(AssetTag[] tags)
public AssetRatings getRatings()
public void setRatings(AssetRatings ratings)
public Forum[] getForums()
public void setForums(Forum[] forums)
public AssetAttribute[] getAssetAttributes()
public void setAssetAttributes(AssetAttribute[] customAttributes)
customAttributes - public java.lang.String getResourceURI()
public java.lang.String getInternalResourceURI()
public java.lang.String toString()
toString in class AssetInformation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||