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 classJazzNetProcess.GenericEntitiesGeneric 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 StringNAMESPACE_PREFIXstatic StringNAMESPACE_URIstatic StringPROPERTY_PROJECT_AREAstatic StringTYPE_PROJECT_AREA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JazzNetProcessgetInstance()static URIgetProjectArea(IExtendedResource resource)Returns the project area of the given resource, if any.static QNameqname(String localPart)static voidsetProjectArea(IExtendedResource resource, URI projectArea)Sets the project area of a resource, stored using theprocess:projectAreaproperty.-
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,
nullif theprocess:projectAreaproperty 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:projectAreaproperty.- Parameters:
resource- the resource to link to a project area.projectArea- the project area.- Since:
- 1.13.0
-
-