Class ExtendedError
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc4j.core.model.ExtendedError
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://open-services.net/ns/core#")
@OslcResourceShape(title="OSLC Extended Error Resource Shape",
describes="http://open-services.net/ns/core#ExtendedError")
public class ExtendedError
extends AbstractResource
OSLC Extended Error resource.
This class extends AbstractResource to support extended properties
as required by the OSLC Core specification.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRel()voidsetHintHeight(String hintHeight) voidsetHintWidth(String hintWidth) voidsetMoreInfo(URI moreInfo) voidMethods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ExtendedError
public ExtendedError()
-
-
Method Details
-
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() -
getMoreInfo
@OslcDescription("A resource giving more information on the error SHOULD be of an HTML content-type.") @OslcPropertyDefinition("http://open-services.net/ns/core#moreInfo") @OslcReadOnly @OslcTitle("More Info") public URI getMoreInfo() -
getRel
@OslcDescription("If present and set to \'alternate\' then indicates that work-around is provided, behavior for other values is undefined.") @OslcPropertyDefinition("http://open-services.net/ns/core#rel") @OslcReadOnly @OslcTitle("Rel") public String getRel() -
setHintHeight
-
setHintWidth
-
setMoreInfo
-
setRel
-