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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getShortTitle()
Gets the title of the domain (e.g.String
getTitle()
Gets the title of the domain (e.g.void
setShortTitle(String shortTitle)
Sets the abbreviated title of the domain (e.g.void
setTitle(String title)
Sets the title of the domain.-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Constructor Detail
-
Domain
public Domain()
-
Domain
public Domain(Domain domain)
-
-
Method Detail
-
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
public void setTitle(String title)
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
public void setShortTitle(String shortTitle)
Sets the abbreviated title of the domain (e.g. "CM").- Parameters:
shortTitle
- the abbreviated title of the domain.
-
-