Class Publisher
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc4j.core.model.Publisher
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://open-services.net/ns/core#")
@OslcResourceShape(title="OSLC Publisher Resource Shape",
describes="http://open-services.net/ns/core#Publisher")
public class Publisher
extends AbstractResource
OSLC Publisher resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()URL to an icon file that represents the provider.A URN that uniquely identifies the implementationgetLabel()Very short label for use in menu itemsgetTitle()Title string that could be used for displayvoidvoidsetIdentifier(String identifier) voidvoidMethods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Publisher
public Publisher() -
Publisher
-
-
Method Details
-
getIcon
@OslcDescription("URL to an icon file that represents the provider. This icon should be a favicon format and 16x16 pixels in size") @OslcPropertyDefinition("http://open-services.net/ns/core#icon") @OslcReadOnly @OslcTitle("Icon") public URI getIcon()URL to an icon file that represents the provider. This icon should be a favicon format and 16x16 pixels in size- Returns:
- icon
-
getIdentifier
@OslcDescription("A URN that uniquely identifies the implementation") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcReadOnly @OslcTitle("Identifier") public String getIdentifier()A URN that uniquely identifies the implementation- Returns:
- identifier
-
getLabel
@OslcDescription("Very short label for use in menu items") @OslcPropertyDefinition("http://open-services.net/ns/core#label") @OslcReadOnly @OslcTitle("Label") public String getLabel()Very short label for use in menu items- Returns:
- label
-
getTitle
@OslcDescription("Title string that could be used for display") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcReadOnly @OslcTitle("Title") @OslcValueType(XMLLiteral) public String getTitle()Title string that could be used for display- Returns:
- title
-
setIcon
-
setIdentifier
-
setLabel
-
setTitle
-