Class Domain
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.server.process.model.Domain
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://www.sodius.com/ns/process#")
@OslcResourceShape(title="Domain Resource Shape",
describes="http://www.sodius.com/ns/process#Domain")
public class Domain
extends AbstractResource
A domain with its URL, title, and abbreviated title.
- Since:
- 3.13.0.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the title of the domain (e.g.getTitle()Gets the title of the domain (e.g.voidsetShortTitle(String shortTitle) Sets the abbreviated title of the domain (e.g.voidSets the title of the domain.Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Domain
public Domain() -
Domain
-
-
Method Details
-
getTitle
@OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcValueType(XMLLiteral) public String getTitle()Gets the title of the domain (e.g. "Change Management").- Returns:
- the title of the domain.
-
setTitle
Sets the title of the domain.- Parameters:
title- the title of the domain.
-
getShortTitle
@OslcPropertyDefinition("http://open-services.net/ns/core#shortTitle") public String getShortTitle()Gets the title of the domain (e.g. "Change Management").- Returns:
- the title of the domain.
-
setShortTitle
Sets the abbreviated title of the domain (e.g. "CM").- Parameters:
shortTitle- the abbreviated title of the domain.
-