Class Compact
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc4j.core.model.Compact
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://open-services.net/ns/core#")
@OslcResourceShape(title="OSLC Compact Resource Shape",
describes="http://open-services.net/ns/core#Compact")
public class Compact
extends AbstractResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()getTitle()voidvoidsetLargePreview(Preview largePreview) voidsetShortTitle(String shortTitle) voidsetSmallPreview(Preview smallPreview) voidMethods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Compact
public Compact()
-
-
Method Details
-
getIcon
@OslcDescription("URI of an image which may be used in the display of a link to the resource. The image SHOULD be 16x16 pixels in size.") @OslcPropertyDefinition("http://open-services.net/ns/core#icon") @OslcReadOnly @OslcTitle("Icon") public URI getIcon() -
getLargePreview
@OslcDescription("URI and sizing properties for an HTML document to be used for a large preview.") @OslcPropertyDefinition("http://open-services.net/ns/core#largePreview") @OslcRange("http://open-services.net/ns/core#Preview") @OslcReadOnly @OslcRepresentation(Inline) @OslcTitle("Large Preview") @OslcValueShape("resourceShapes/preview") @OslcValueType(LocalResource) public Preview getLargePreview() -
getShortTitle
@OslcDescription("Abbreviated title which may be used in the display of a link to the resource.") @OslcPropertyDefinition("http://open-services.net/ns/core#shortTitle") @OslcReadOnly @OslcTitle("Short Title") public String getShortTitle() -
getSmallPreview
@OslcDescription("URI and sizing properties for an HTML document to be used for a small preview.") @OslcPropertyDefinition("http://open-services.net/ns/core#smallPreview") @OslcRange("http://open-services.net/ns/core#Preview") @OslcReadOnly @OslcRepresentation(Inline) @OslcTitle("Small Preview") @OslcValueShape("resourceShapes/preview") @OslcValueType(LocalResource) public Preview getSmallPreview() -
getTitle
@OslcDescription("Title which may be used in the display of a link to the resource.") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcReadOnly @OslcTitle("Title") @OslcValueType(String) public String getTitle() -
setIcon
-
setLargePreview
-
setShortTitle
-
setSmallPreview
-
setTitle
-