Class 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 Details

    • Dialog

      public Dialog()
    • Dialog

      public Dialog(String title, URI dialog)
  • Method Details

    • addResourceType

      public void addResourceType(URI resourceType)
    • addUsage

      public void addUsage(URI usage)
    • 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

      public void setDialog(URI dialog)
    • setHintHeight

      public void setHintHeight(String hintHeight)
    • setHintWidth

      public void setHintWidth(String hintWidth)
    • setLabel

      public void setLabel(String label)
    • setResourceTypes

      public void setResourceTypes(URI[] resourceTypes)
    • setTitle

      public void setTitle(String title)
    • setUsages

      public void setUsages(URI[] usages)