Package org.eclipse.lyo.oslc.domains
Class RdfsClass
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- org.eclipse.lyo.oslc.domains.RdfsClass
-
- All Implemented Interfaces:
IRdfsClass
,IExtendedResource
,IResource
@OslcNamespace("http://www.w3.org/2000/01/rdf-schema#") @OslcName("Class") @OslcResourceShape(title="Class Shape", describes="http://www.w3.org/2000/01/rdf-schema#Class") public class RdfsClass extends AbstractResource implements IRdfsClass
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceShape
createResourceShape()
Link
getSubClassOf()
void
setSubClassOf(Link subClassOf)
String
toString()
String
toString(boolean asLocalResource)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Constructor Detail
-
RdfsClass
public RdfsClass()
-
RdfsClass
public RdfsClass(URI about)
-
-
Method Detail
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException
-
toString
public String toString(boolean asLocalResource)
-
getSubClassOf
@OslcName("subClassOf") @OslcPropertyDefinition("http://www.w3.org/2000/01/rdf-schema#subClassOf") @OslcDescription("used to state that all the instances of one class are instances of another") @OslcOccurs(ExactlyOne) @OslcValueType(Resource) @OslcRange("http://www.w3.org/2000/01/rdf-schema#Class") @OslcReadOnly(false) public Link getSubClassOf()
- Specified by:
getSubClassOf
in interfaceIRdfsClass
-
setSubClassOf
public void setSubClassOf(Link subClassOf)
- Specified by:
setSubClassOf
in interfaceIRdfsClass
-
-