Class Dialog
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc4j.core.model.Dialog
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://open-services.net/ns/core#")
@OslcResourceShape(title="OSLC Dialog Resource Shape",
describes="http://open-services.net/ns/core#Dialog")
public class Dialog
extends AbstractResource
OSLC Dialog resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResourceType(URI resourceType) voidThe URI of the dialogValues MUST be expressed in relative length units as defined in the W3C Cascading Style Sheets Specification (CSS 2.1) Em and ex units are interpreted relative to the default system font (at 100% size)Values MUST be expressed in relative length units as defined in the W3C Cascading Style Sheets Specification (CSS 2.1) Em and ex units are interpreted relative to the default system font (at 100% size)getLabel()Very short label for use in menu itemsURI[]The expected resource type URI for the resources that will be returned when using this dialog.getTitle()Title string that could be used for displayURI[]An identifier URI for the domain specified usage of this dialog.voidvoidsetHintHeight(String hintHeight) voidsetHintWidth(String hintWidth) voidvoidsetResourceTypes(URI[] resourceTypes) voidvoidMethods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Dialog
public Dialog() -
Dialog
-
-
Method Details
-
addResourceType
-
addUsage
-
getDialog
@OslcDescription("The URI of the dialog") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://open-services.net/ns/core#dialog") @OslcReadOnly @OslcTitle("Dialog") public URI getDialog()The URI of the dialog- Returns:
- dialog
-
getHintHeight
@OslcDescription("Values MUST be expressed in relative length units as defined in the W3C Cascading Style Sheets Specification (CSS 2.1) Em and ex units are interpreted relative to the default system font (at 100% size)") @OslcPropertyDefinition("http://open-services.net/ns/core#hintHeight") @OslcReadOnly @OslcTitle("Hint Height") public String getHintHeight()Values MUST be expressed in relative length units as defined in the W3C Cascading Style Sheets Specification (CSS 2.1) Em and ex units are interpreted relative to the default system font (at 100% size)- Returns:
- hintHeight
-
getHintWidth
@OslcDescription("Values MUST be expressed in relative length units as defined in the W3C Cascading Style Sheets Specification (CSS 2.1) Em and ex units are interpreted relative to the default system font (at 100% size)") @OslcPropertyDefinition("http://open-services.net/ns/core#hintWidth") @OslcReadOnly @OslcTitle("Hint Width") public String getHintWidth()Values MUST be expressed in relative length units as defined in the W3C Cascading Style Sheets Specification (CSS 2.1) Em and ex units are interpreted relative to the default system font (at 100% size)- Returns:
- hintWidth
-
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
-
getResourceTypes
@OslcDescription("The expected resource type URI for the resources that will be returned when using this dialog. These would be the URIs found in the result resource\'s rdf:type property") @OslcName("resourceType") @OslcPropertyDefinition("http://open-services.net/ns/core#resourceType") @OslcReadOnly @OslcTitle("Resource Types") public URI[] getResourceTypes()The expected resource type URI for the resources that will be returned when using this dialog. These would be the URIs found in the result resource's rdf:type property- Returns:
- resourceTypes
-
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
-
getUsages
@OslcDescription("An identifier URI for the domain specified usage of this dialog. If a service provides multiple selection or creation dialogs, it may designate the primary or default one that should be used with a property value of http://open-services/ns/core#default") @OslcName("usage") @OslcPropertyDefinition("http://open-services.net/ns/core#usage") @OslcReadOnly @OslcTitle("Usages") public URI[] getUsages()An identifier URI for the domain specified usage of this dialog. If a service provides multiple selection or creation dialogs, it may designate the primary or default one that should be used with a property value of http://open-services/ns/core#default- Returns:
- usages
-
setDialog
-
setHintHeight
-
setHintWidth
-
setLabel
-
setResourceTypes
-
setTitle
-
setUsages
-