@OslcNamespace(value="http://www.w3.org/2000/01/rdf-schema#") @OslcName(value="Class") @OslcResourceShape(title="Class Resource Shape", describes="http://www.w3.org/2000/01/rdf-schema#Class") public class RdfsClass extends AbstractResource implements IRdfsClass
| Modifier and Type | Method and Description |
|---|---|
static ResourceShape |
createResourceShape() |
Link |
getSubClassOf() |
void |
setSubClassOf(Link subClassOf) |
String |
toString() |
String |
toString(boolean asLocalResource) |
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypespublic RdfsClass()
public RdfsClass(URI about)
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException
public String toString(boolean asLocalResource)
@OslcName(value="subClassOf") @OslcPropertyDefinition(value="http://www.w3.org/2000/01/rdf-schema#subClassOf") @OslcDescription(value="used to state that all the instances of one class are instances of another") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=Resource) @OslcRange(value="http://www.w3.org/2000/01/rdf-schema#Class") @OslcReadOnly(value=false) public Link getSubClassOf()
getSubClassOf in interface IRdfsClasspublic void setSubClassOf(Link subClassOf)
setSubClassOf in interface IRdfsClassCopyright © 2021. All rights reserved.