@OslcNamespace(value="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
Constructor and Description |
---|
Publisher() |
Publisher(String title,
String identifier) |
Modifier and Type | Method and 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) |
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
@OslcDescription(value="URL to an icon file that represents the provider. This icon should be a favicon format and 16x16 pixels in size") @OslcPropertyDefinition(value="http://open-services.net/ns/core#icon") @OslcReadOnly @OslcTitle(value="Icon") public URI getIcon()
@OslcDescription(value="A URN that uniquely identifies the implementation") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://purl.org/dc/terms/identifier") @OslcReadOnly @OslcTitle(value="Identifier") public String getIdentifier()
@OslcDescription(value="Very short label for use in menu items") @OslcPropertyDefinition(value="http://open-services.net/ns/core#label") @OslcReadOnly @OslcTitle(value="Label") public String getLabel()
@OslcDescription(value="Title string that could be used for display") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://purl.org/dc/terms/title") @OslcReadOnly @OslcTitle(value="Title") @OslcValueType(value=XMLLiteral) public String getTitle()
public void setIcon(URI icon)
public void setIdentifier(String identifier)
public void setLabel(String label)
public void setTitle(String title)
Copyright © 2017. All rights reserved.