Package com.sodius.oslc.app.dng.model
Class DngRequirement
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.domain.rm.model.Requirement
-
- com.sodius.oslc.app.dng.model.DngRequirement
-
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcName("Requirement") @OslcNamespace("http://open-services.net/ns/rm#") @OslcResourceShape(title="Requirement Resource Shape", describes="http://open-services.net/ns/rm#Requirement") public class DngRequirement extends Requirement
Represents a DOORS Next Requirement.
-
-
Constructor Summary
Constructors Constructor Description DngRequirement()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetImageTagForWrappedResource(URI wrappedResource)URIgetParentFolder()Returns the folder owning this OSLC resource.StringgetPrimaryText()Returns the primary text associated to the requirement.URIgetWrappedResource()StringgetWrappedResourceContentType()voidsetParentFolder(URI parentFolder)voidsetPrimaryText(String primaryText)voidsetWrappedResource(URI wrappedResource)voidsetWrappedResourceContentType(String wrappedResourceContentType)-
Methods inherited from class com.sodius.oslc.domain.rm.model.Requirement
addAffectedBy, addConstrainedBy, addConstrains, addContributor, addCreator, addDecomposedBy, addDecomposes, addElaboratedBy, addElaborates, addImplementedBy, addReferences, addSatisfiedBy, addSatisfies, addSpecifiedBy, addSpecifies, addSubject, addTrackedBy, addValidatedBy, getAffectedBy, getConstrainedBy, getConstrains, getContributors, getCreated, getCreators, getDecomposedBy, getDecomposes, getDescription, getElaboratedBy, getElaborates, getIdentifier, getImplementedBy, getInstanceShape, getModified, getReferences, getSatisfiedBy, getSatisfies, getServiceProvider, getShortTitle, getSpecifiedBy, getSpecifies, getSubjects, getTitle, getTrackedBy, getValidatedBy, setAffectedBy, setConstrainedBy, setConstrains, setContributors, setCreated, setCreators, setDecomposedBy, setDecomposes, setDescription, setElaboratedBy, setElaborates, setIdentifier, setImplementedBy, setInstanceShape, setModified, setReferences, setSatisfiedBy, setSatisfies, setServiceProvider, setShortTitle, setSpecifiedBy, setSpecifies, setSubjects, setTitle, setTrackedBy, setValidatedBy
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getPrimaryText
@OslcPropertyDefinition("http://jazz.net/ns/rm#primaryText") @OslcValueType(XMLLiteral) public String getPrimaryText()
Returns the primary text associated to the requirement. The primary text format is XHTML.- Returns:
- the primary text associated to the requirement.
-
setPrimaryText
public void setPrimaryText(String primaryText)
-
getParentFolder
@OslcName("parent") @OslcPropertyDefinition("http://jazz.net/ns/rm/navigation#parent") @OslcValueType(Resource) public URI getParentFolder()
Returns the folder owning this OSLC resource.- Returns:
- the folder owning this OSLC resource.
-
setParentFolder
public void setParentFolder(URI parentFolder)
-
getWrappedResourceContentType
@OslcName("wrappedResourceContentType") @OslcPropertyDefinition("http://www.ibm.com/xmlns/rm/public/1.0/wrappedResourceContentType") @OslcValueType(XMLLiteral) public String getWrappedResourceContentType()
- Returns:
- the wrapped resource's content type
- Since:
- 1.2.0
-
setWrappedResourceContentType
public void setWrappedResourceContentType(String wrappedResourceContentType)
- Parameters:
wrappedResourceContentType- the wrapped resource's content type- Since:
- 1.2.0
-
getWrappedResource
@OslcName("wrappedResource") @OslcPropertyDefinition("http://www.ibm.com/xmlns/rm/public/1.0/wrappedResource") @OslcValueType(Resource) public URI getWrappedResource()
- Returns:
- the wrapped resource's location
- Since:
- 1.2.0
-
setWrappedResource
public void setWrappedResource(URI wrappedResource)
- Parameters:
wrappedResource- the wrapped resource's location- Since:
- 1.2.0
-
-