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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getIcon()
String
getIdentifier()
String
getLabel()
String
getTitle()
void
setIcon(URI icon)
void
setIdentifier(String identifier)
void
setLabel(String label)
void
setTitle(String title)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
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()
-
getIdentifier
@OslcDescription("A URN that uniquely identifies the implementation") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcReadOnly @OslcTitle("Identifier") public String getIdentifier()
-
getLabel
@OslcDescription("Very short label for use in menu items") @OslcPropertyDefinition("http://open-services.net/ns/core#label") @OslcReadOnly @OslcTitle("Label") public String getLabel()
-
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()
-
setIcon
public void setIcon(URI icon)
-
setIdentifier
public void setIdentifier(String identifier)
-
setLabel
public void setLabel(String label)
-
setTitle
public void setTitle(String title)
-
-