Package com.sodius.oslc.app.jazz.model
Class JazzNetProcess
- java.lang.Object
-
- com.sodius.oslc.core.model.Namespace
-
- com.sodius.oslc.app.jazz.model.JazzNetProcess
-
public class JazzNetProcess extends Namespace
Namespace of Jazz Ns Process.See the Jazz website for details:
https://jazz.net/- Since:
- 1.6.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JazzNetProcess.GenericEntities
Generic Entities for Jazz Net Process shapes, used when replying with a collection of entities in a Response object.
-
Field Summary
Fields Modifier and Type Field Description static String
NAMESPACE_PREFIX
static String
NAMESPACE_URI
static String
PROPERTY_PROJECT_AREA
static String
TYPE_PROJECT_AREA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JazzNetProcess
getInstance()
static URI
getProjectArea(IExtendedResource resource)
Returns the project area of the given resource, if any.static QName
qname(String localPart)
static void
setProjectArea(IExtendedResource resource, URI projectArea)
Sets the project area of a resource, stored using theprocess:projectArea
property.-
Methods inherited from class com.sodius.oslc.core.model.Namespace
equals, getPrefix, getPrefixed, getQName, getUri, hashCode, parseQName, toString
-
-
-
-
Field Detail
-
NAMESPACE_URI
public static final String NAMESPACE_URI
- See Also:
- Constant Field Values
-
NAMESPACE_PREFIX
public static final String NAMESPACE_PREFIX
- See Also:
- Constant Field Values
-
TYPE_PROJECT_AREA
public static final String TYPE_PROJECT_AREA
- Since:
- 1.6.0
- See Also:
- Constant Field Values
-
PROPERTY_PROJECT_AREA
public static final String PROPERTY_PROJECT_AREA
- Since:
- 1.6.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static JazzNetProcess getInstance()
-
getProjectArea
public static URI getProjectArea(IExtendedResource resource)
Returns the project area of the given resource, if any.- Parameters:
resource
- the resource linked to a project area.- Returns:
- the project area of the resource,
null
if theprocess:projectArea
property is not set. - Since:
- 1.13.0
-
setProjectArea
public static void setProjectArea(IExtendedResource resource, URI projectArea)
Sets the project area of a resource, stored using theprocess:projectArea
property.- Parameters:
resource
- the resource to link to a project area.projectArea
- the project area.- Since:
- 1.13.0
-
-