org.eclipse.lyo.oslc4j.core.model

## 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(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 Summary

    Constructors
    Constructor and Description
    `Publisher()`
    `Publisher(String title, String identifier)`

  - ### Method Summary

    Methods
    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)`

    - ### Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource

      `addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Publisher

          public Publisher()

    - #### Publisher

          public Publisher(String title,
                   String identifier)

  - ### Method Detail

    - #### getIcon

          @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()

    - #### getIdentifier

          @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()

    - #### getLabel

          @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()

    - #### getTitle

          @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()

    - #### setIcon

          public void setIcon(URI icon)

    - #### setIdentifier

          public void setIdentifier(String identifier)

    - #### setLabel

          public void setLabel(String label)

    - #### setTitle

          public void setTitle(String title)

Copyright © 2016. All rights reserved.