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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addResourceType
(URI resourceType) void
getLabel()
URI[]
getTitle()
URI[]
void
void
setHintHeight
(String hintHeight) void
setHintWidth
(String hintWidth) void
void
setResourceTypes
(URI[] resourceTypes) void
void
Methods 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() -
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() -
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() -
getLabel
@OslcDescription("Very short label for use in menu items") @OslcPropertyDefinition("http://open-services.net/ns/core#label") @OslcReadOnly @OslcTitle("Label") public String getLabel() -
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() -
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() -
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() -
setDialog
-
setHintHeight
-
setHintWidth
-
setLabel
-
setResourceTypes
-
setTitle
-
setUsages
-