
public class PhysicalThing extends ManagedIndividual
| Modifier and Type | Field and Description |
|---|---|
static String |
MY_URI |
static String |
PROP_CARRIED_BY |
static String |
PROP_HAS_SHAPE |
static String |
PROP_IS_IN |
static String |
PROP_IS_PORTABLE |
static String |
PROP_IS_STATIONARY |
static String |
PROP_PART_OF |
static String |
PROP_PHYSICAL_LOCATION |
OWL_NAMESPACE, TYPE_OWL_INDIVIDUAL, TYPE_OWL_THINGANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, NAMESPACE_PREFIX, ns_delim_index, PROP_INVOLVED_HUMAN_USER, PROP_RDF_FIRST, PROP_RDF_REST, PROP_RDF_TYPE, PROP_RDFS_COMMENT, PROP_RDFS_LABEL, PROP_SERIALIZATION_FULL, PROP_SERIALIZATION_OPTIONAL, PROP_SERIALIZATION_REDUCED, PROP_SERIALIZATION_UNDEFINED, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, SERVICE_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uri, VOCABULARY_NAMESPACE| Modifier | Constructor and Description |
|---|---|
protected |
PhysicalThing() |
|
PhysicalThing(String uri) |
protected |
PhysicalThing(String uriPrefix,
int numProps) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassURI()
Get the class URI for this ManagedIndividual.
|
Location |
getLocation() |
int |
getPropSerializationType(String propURI)
From the point of view of this top most class of things with a location,
the location can be represented in its reduced form.
|
Shape |
getShape() |
boolean |
setLocation(Location loc) |
void |
setLocation(Place o,
float x,
float y,
float z)
Defines, that the PhysicalThing is located in location o at point x,y,z
Warning: This does not set the PROP_PHYSICAL_LOCATION property to o, but
to an new anon place, that is "contained in" the given location Note: the
coordinates are defining the center of the PhysicalThing relative to the
center of the containing location
|
void |
setLocationCornerRelativeToCorner(Location o,
float x,
float y,
float z)
Defines, that the PhysicalThing is located in location o at point x,y,z
Warning: This does not set the PROP_PHYSICAL_LOCATION property to o, but
to an new anon place, that is "contained in" the given location Note: the
coordinates are defining corner of the PhysicalThing relative to the
lower, left corner of the containing location, assuming its a box
|
void |
setLocationRelativeToCorner(Location o,
float x,
float y,
float z)
Defines, that the PhysicalThing is located in location o at point x,y,z
Warning: This does not set the PROP_PHYSICAL_LOCATION property to o, but
to a new anon place, that is "contained in" the given location Note: the
coordinates are defining center of the PhysicalThing relative to the
lower, left corner of the containing location, assuming its a box
|
boolean |
setProperty(String propURI,
Object o)
The default implementation that will set a property if it was not set
before and the given value complies with the restrictions defined by this
class of managed individuals for the given propURI.
|
void |
setShape(Shape o) |
checkCompatibility, checkMembership, copy, deepCopy, getClassRestrictionsOnProperty, getInstance, getNonAbstractSuperClasses, getNonabstractSuperClasses, getOntClassInfo, getTypeURI, isRegisteredClassURI, isWellFormed, setPropertyPathFromOffset, toManagedIndividualaddType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfPropertiesaddMultiLangProp, asList, asList, asRDFList, changeProperty, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getOrConstructLabel, getResource, getResourceComment, getResourceLabel, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, literal, representsQualifiedURI, serializesAsXMLLiteral, setPropertyPath, setPropertyPath, setResourceComment, setResourceLabel, toString, toStringRecursive, toStringRecursive, unliteralpublic static final String MY_URI
public static final String PROP_CARRIED_BY
public static final String PROP_PART_OF
public static final String PROP_IS_IN
public static final String PROP_IS_PORTABLE
public static final String PROP_IS_STATIONARY
public static final String PROP_PHYSICAL_LOCATION
public static final String PROP_HAS_SHAPE
protected PhysicalThing()
public PhysicalThing(String uri)
protected PhysicalThing(String uriPrefix, int numProps)
public String getClassURI()
ManagedIndividualgetClassURI in class ManagedIndividualpublic Location getLocation()
public Shape getShape()
public int getPropSerializationType(String propURI)
Resource.PROP_SERIALIZATION_OPTIONAL.getPropSerializationType in class ManagedIndividualManagedIndividual.getPropSerializationType(String).public boolean setLocation(Location loc)
public void setLocation(Place o, float x, float y, float z)
o - the locationx - y - z - public void setLocationRelativeToCorner(Location o, float x, float y, float z)
o - the locationx - y - z - public void setLocationCornerRelativeToCorner(Location o, float x, float y, float z)
o - the locationx - y - z - public void setShape(Shape o)
public boolean setProperty(String propURI, Object o)
ManagedIndividualsetProperty in class ManagedIndividualCopyright © 2018 universAAL Consortium. All rights reserved.