Package com.sodius.oslc.app.jazz.model
Class ProjectArea
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.app.jazz.model.ProjectArea
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://jazz.net/ns/process#") @OslcResourceShape(title="Project Area Shape", describes="http://jazz.net/ns/process#ProjectArea") public class ProjectArea extends AbstractResource
Describes a project area.- Since:
- 1.6.0
-
-
Constructor Summary
Constructors Constructor Description ProjectArea()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addServiceProvider(ServiceProvider serviceProvider)
URI
getAccessContext()
String
getDescription()
String
getIdentifier()
Gets the project area identifier from extended properties, if any.ServiceProvider[]
getServiceProviders()
String
getTitle()
boolean
isArchived()
void
setAccessContext(URI accessContext)
void
setArchived(boolean archived)
void
setDescription(String description)
void
setIdentifier(String identifier)
Sets the project area identifier in extended properties.void
setServiceProviders(ServiceProvider[] serviceProviders)
void
setTitle(String title)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Gets the project area identifier from extended properties, if any.- Returns:
- the project area identifier
- Since:
- 3.7.0
-
setIdentifier
public void setIdentifier(String identifier)
Sets the project area identifier in extended properties.- Parameters:
identifier
- the project area new identifier- Since:
- 3.7.0
-
getTitle
@OslcDescription("Title (reference: Dublin Core) or often a single line summary of the resource represented as rich text in XHTML content.") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcTitle("Title") @OslcValueType(XMLLiteral) public String getTitle()
-
setTitle
public void setTitle(String title)
-
isArchived
@OslcPropertyDefinition("http://open-services.net/ns/core#archived") public boolean isArchived()
-
setArchived
public void setArchived(boolean archived)
-
getDescription
@OslcDescription("Descriptive text (reference: Dublin Core) about resource represented as rich text in XHTML content.") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcTitle("Description") @OslcValueType(XMLLiteral) public String getDescription()
-
setDescription
public void setDescription(String description)
-
getServiceProviders
@OslcDescription("Service providers") @OslcName("serviceProvider") @OslcPropertyDefinition("http://open-services.net/ns/core#serviceProvider") @OslcRange("http://open-services.net/ns/core#ServiceProvider") @OslcReadOnly @OslcValueType(LocalResource) @OslcRepresentation(Inline) @OslcTitle("Service Providers") public ServiceProvider[] getServiceProviders()
-
addServiceProvider
public void addServiceProvider(ServiceProvider serviceProvider)
-
setServiceProviders
public void setServiceProviders(ServiceProvider[] serviceProviders)
-
getAccessContext
@OslcPropertyDefinition("http://open-services.net/ns/core/acc#accessContext") public URI getAccessContext()
-
setAccessContext
public void setAccessContext(URI accessContext)
-
-