|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.internal.jaxb.Asset
public class Asset
Java class for Asset complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Asset">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.omg.org/ras/v2.2}id"/>
<element ref="{http://purl.org/dc/elements/1.1/}title"/>
<element name="type" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link"/>
<element name="state" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link"/>
<element name="action" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
<element name="owner" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" maxOccurs="unbounded"/>
<element name="community" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link"/>
<element ref="{http://purl.org/dc/elements/1.1/}subject"/>
<element ref="{http://purl.org/dc/elements/1.1/}description" minOccurs="0"/>
<element name="avgRating" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="ratings" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
<element name="relationship" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}RelationshipLink" maxOccurs="unbounded" minOccurs="0"/>
<element name="artifact" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" maxOccurs="unbounded" minOccurs="0"/>
<element name="forums" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
<element name="category" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" maxOccurs="unbounded" minOccurs="0"/>
<element name="tag" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" maxOccurs="unbounded" minOccurs="0"/>
<element name="htmlRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
<element name="stateHistory" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" maxOccurs="unbounded" minOccurs="0"/>
<element name="lifecycle" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
<element name="content" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
<element name="attributeValue" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}AttributeValue" maxOccurs="unbounded" minOccurs="0"/>
<element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
</sequence>
<attGroup ref="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}resourceAttrs"/>
<attribute name="dbid" type="{http://www.w3.org/2001/XMLSchema}int" default="-1" />
<attribute name="managementStyle" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
<attribute name="revisionCount" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Link<Action> |
action
|
protected java.util.List<Link<Artifact>> |
artifacts
|
protected java.util.List<AttributeValue> |
attributeValues
|
protected java.lang.Double |
avgRating
|
protected java.lang.String |
base
|
protected java.util.List<Link<Category>> |
categories
|
protected Link<Community> |
community
|
protected java.lang.String |
content
|
protected java.lang.Integer |
dbid
|
protected SimpleLiteral |
description
|
protected java.lang.String |
etag
|
protected Link |
forums
|
protected java.lang.String |
href
|
protected java.lang.String |
htmlRef
|
protected AssetID |
id
|
protected java.lang.String |
lang
|
protected javax.xml.datatype.XMLGregorianCalendar |
lastModified
|
protected Link<Lifecycle> |
lifecycle
|
protected java.lang.String |
lifecycleId
|
protected java.lang.Integer |
managementStyle
|
protected java.util.List<Link<User>> |
owners
|
protected Link |
ratings
|
protected java.util.List<RelationshipLink> |
relationships
|
protected java.lang.Integer |
revisionCount
|
protected java.lang.String |
space
|
protected Link<State> |
state
|
protected java.util.List<Link<StateHistory>> |
stateHistories
|
protected SimpleLiteral |
subject
|
protected java.util.List<Link> |
tags
|
protected SimpleLiteral |
title
|
protected Link<AssetType> |
type
|
| Constructor Summary | |
|---|---|
Asset()
|
|
Asset(Asset oslcAsset)
|
|
| Method Summary | |
|---|---|
Link<Action> |
getAction()
Gets the value of the action property. |
java.util.List<Link<Artifact>> |
getArtifacts()
Gets the value of the artifacts property. |
java.util.List<AttributeValue> |
getAttributeValues()
Gets the value of the attributeValues property. |
java.lang.Double |
getAvgRating()
Gets the value of the avgRating property. |
java.lang.String |
getBase()
Gets the value of the base property. |
java.util.List<Link<Category>> |
getCategories()
Gets the value of the categories property. |
Link<Community> |
getCommunity()
Gets the value of the community property. |
java.lang.String |
getContent()
Gets the value of the content property. |
java.lang.Integer |
getDbid()
Gets the value of the dbid property. |
SimpleLiteral |
getDescription()
Gets the value of the description property. |
java.lang.String |
getEtag()
Gets the value of the etag property. |
Link |
getForums()
Gets the value of the forums property. |
java.lang.String |
getHref()
Gets the value of the href property. |
java.lang.String |
getHtmlRef()
Gets the value of the htmlRef property. |
AssetID |
getId()
Gets the value of the id property. |
java.lang.String |
getLang()
Gets the value of the lang property. |
javax.xml.datatype.XMLGregorianCalendar |
getLastModified()
Gets the value of the lastModified property. |
Link<Lifecycle> |
getLifecycle()
Gets the value of the lifecycle property. |
java.lang.String |
getLifecycleId()
|
int |
getManagementStyle()
Gets the value of the managementStyle property. |
java.util.List<Link<User>> |
getOwners()
Gets the value of the owners property. |
Link |
getRatings()
Gets the value of the ratings property. |
java.util.List<RelationshipLink> |
getRelationships()
Gets the value of the relationships property. |
int |
getRevisionCount()
Gets the value of the revisionCount property. |
java.lang.String |
getSpace()
Gets the value of the space property. |
Link<State> |
getState()
Gets the value of the state property. |
java.util.List<Link<StateHistory>> |
getStateHistories()
Gets the value of the stateHistories property. |
SimpleLiteral |
getSubject()
Gets the value of the subject property. |
java.util.List<Link> |
getTags()
Gets the value of the tags property. |
SimpleLiteral |
getTitle()
Gets the value of the title property. |
Link<AssetType> |
getType()
Gets the value of the type property. |
void |
setAction(Link<Action> value)
Sets the value of the action property. |
void |
setAvgRating(java.lang.Double value)
Sets the value of the avgRating property. |
void |
setBase(java.lang.String value)
Sets the value of the base property. |
void |
setCommunity(Link<Community> value)
Sets the value of the community property. |
void |
setContent(java.lang.String value)
Sets the value of the content property. |
void |
setDbid(java.lang.Integer value)
Sets the value of the dbid property. |
void |
setDescription(SimpleLiteral value)
Sets the value of the description property. |
void |
setEtag(java.lang.String value)
Sets the value of the etag property. |
void |
setForums(Link value)
Sets the value of the forums property. |
void |
setHref(java.lang.String value)
Sets the value of the href property. |
void |
setHtmlRef(java.lang.String value)
Sets the value of the htmlRef property. |
void |
setId(AssetID value)
Sets the value of the id property. |
void |
setLang(java.lang.String value)
Sets the value of the lang property. |
void |
setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the lastModified property. |
void |
setLifecycle(Link<Lifecycle> value)
Sets the value of the lifecycle property. |
void |
setLifecycleId(java.lang.String lifecycleId)
|
void |
setManagementStyle(java.lang.Integer value)
Sets the value of the managementStyle property. |
void |
setRatings(Link value)
Sets the value of the ratings property. |
void |
setRevisionCount(java.lang.Integer value)
Sets the value of the revisionCount property. |
void |
setSpace(java.lang.String value)
Sets the value of the space property. |
void |
setState(Link<State> value)
Sets the value of the state property. |
void |
setSubject(SimpleLiteral value)
Sets the value of the subject property. |
void |
setTitle(SimpleLiteral value)
Sets the value of the title property. |
void |
setType(Link<AssetType> value)
Sets the value of the type property. |
Asset |
toOSLCAsset(AssetPropOptions props)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AssetID id
protected SimpleLiteral title
protected Link<AssetType> type
protected Link<State> state
protected Link<Action> action
protected java.util.List<Link<User>> owners
protected Link<Community> community
protected SimpleLiteral subject
protected SimpleLiteral description
protected java.lang.Double avgRating
protected Link ratings
protected java.util.List<RelationshipLink> relationships
protected java.util.List<Link<Artifact>> artifacts
protected Link forums
protected java.util.List<Link<Category>> categories
protected java.util.List<Link> tags
protected java.lang.String htmlRef
protected java.util.List<Link<StateHistory>> stateHistories
protected Link<Lifecycle> lifecycle
protected java.lang.String lifecycleId
protected java.lang.String content
protected java.util.List<AttributeValue> attributeValues
protected javax.xml.datatype.XMLGregorianCalendar lastModified
protected java.lang.Integer dbid
protected java.lang.Integer managementStyle
protected java.lang.Integer revisionCount
protected java.lang.String etag
protected java.lang.String href
protected java.lang.String base
protected java.lang.String lang
protected java.lang.String space
| Constructor Detail |
|---|
public Asset()
public Asset(Asset oslcAsset)
| Method Detail |
|---|
public AssetID getId()
AssetIDpublic void setId(AssetID value)
value - allowed object is
AssetIDpublic SimpleLiteral getTitle()
SimpleLiteralpublic void setTitle(SimpleLiteral value)
value - allowed object is
SimpleLiteralpublic Link<AssetType> getType()
Linkpublic void setType(Link<AssetType> value)
value - allowed object is
Linkpublic Link<State> getState()
Linkpublic void setState(Link<State> value)
value - allowed object is
Linkpublic Link<Action> getAction()
Linkpublic void setAction(Link<Action> value)
value - allowed object is
Linkpublic java.util.List<Link<User>> getOwners()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the owners property.
For example, to add a new item, do as follows:
getOwners().add(newItem);
Objects of the following type(s) are allowed in the list
Link
public Link<Community> getCommunity()
Linkpublic void setCommunity(Link<Community> value)
value - allowed object is
Linkpublic SimpleLiteral getSubject()
SimpleLiteralpublic void setSubject(SimpleLiteral value)
value - allowed object is
SimpleLiteralpublic SimpleLiteral getDescription()
SimpleLiteralpublic void setDescription(SimpleLiteral value)
value - allowed object is
SimpleLiteralpublic java.lang.Double getAvgRating()
Doublepublic void setAvgRating(java.lang.Double value)
value - allowed object is
Doublepublic Link getRatings()
Linkpublic void setRatings(Link value)
value - allowed object is
Linkpublic java.util.List<RelationshipLink> getRelationships()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the relationships property.
For example, to add a new item, do as follows:
getRelationships().add(newItem);
Objects of the following type(s) are allowed in the list
RelationshipLink
public java.util.List<Link<Artifact>> getArtifacts()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the artifacts property.
For example, to add a new item, do as follows:
getArtifacts().add(newItem);
Objects of the following type(s) are allowed in the list
Link
public Link getForums()
Linkpublic void setForums(Link value)
value - allowed object is
Linkpublic java.util.List<Link<Category>> getCategories()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the categories property.
For example, to add a new item, do as follows:
getCategories().add(newItem);
Objects of the following type(s) are allowed in the list
Link
public java.util.List<Link> getTags()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the tags property.
For example, to add a new item, do as follows:
getTags().add(newItem);
Objects of the following type(s) are allowed in the list
Link
public java.lang.String getHtmlRef()
Stringpublic void setHtmlRef(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<Link<StateHistory>> getStateHistories()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the stateHistories property.
For example, to add a new item, do as follows:
getStateHistories().add(newItem);
Objects of the following type(s) are allowed in the list
Link
public java.lang.String getLifecycleId()
public void setLifecycleId(java.lang.String lifecycleId)
lifecycleId - The lifecycleId to set.public Link<Lifecycle> getLifecycle()
Linkpublic void setLifecycle(Link<Lifecycle> value)
value - allowed object is
Linkpublic java.lang.String getContent()
Stringpublic void setContent(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<AttributeValue> getAttributeValues()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the attributeValues property.
For example, to add a new item, do as follows:
getAttributeValues().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeValue
public javax.xml.datatype.XMLGregorianCalendar getLastModified()
XMLGregorianCalendarpublic void setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic java.lang.Integer getDbid()
Integerpublic void setDbid(java.lang.Integer value)
value - allowed object is
Integerpublic int getManagementStyle()
Integerpublic void setManagementStyle(java.lang.Integer value)
value - allowed object is
Integerpublic int getRevisionCount()
Integerpublic void setRevisionCount(java.lang.Integer value)
value - allowed object is
Integerpublic java.lang.String getEtag()
Stringpublic void setEtag(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getHref()
Stringpublic void setHref(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBase()
Stringpublic void setBase(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getLang()
Stringpublic void setLang(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSpace()
Stringpublic void setSpace(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String toString()
toString in class java.lang.Objectpublic Asset toOSLCAsset(AssetPropOptions props)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||