de.unidu.is.annotation.rework.ontology.classes.OntologyObjects
Class MVSelectionIndividual

java.lang.Object
  extended byde.unidu.is.annotation.rework.ontology.classes.OntologyObjects.OntologyIndividual
      extended byde.unidu.is.annotation.rework.ontology.classes.OntologyObjects.MVSelectionIndividual

public class MVSelectionIndividual
extends OntologyIndividual

MVSelectionIndividual.java Represents a MVSelection individual in a Jena OntModel

Author:
Marc Lechtenfeld

Field Summary
static java.lang.String CONTEXT_PROPERTY
          Name of the ontology property, which stores the context of the selection
static java.lang.String HEIGHT_PROPERTY
          Name of the ontology property, which stores the height of the selection
static java.lang.String MV_SELECTION_CLASS
          Name of the ontology class
static java.lang.String TREE_NODE_PROPERTY
          Name of the ontology property, which stores the tree node of the selection
static java.lang.String TREE_PROPERTY
          Name of the ontology property, which stores the tree of the selection
static java.lang.String WIDTH_PROPERTY
          Name of the ontology property, which stores the width of the selection
static java.lang.String X_COORDINATE_PROPERTY
          Name of the ontology property, which stores the x coordinate of the selection
static java.lang.String Y_COORDINATE_PROPERTY
          Name of the ontology property, which stores the y coordinate of the selection
 
Fields inherited from class de.unidu.is.annotation.rework.ontology.classes.OntologyObjects.OntologyIndividual
ANNOTATIONS_PROPERTY, LINK_PROPERTY, NAMESPACE, ontIndividual, ontModel, TYPE_URI
 
Constructor Summary
MVSelectionIndividual()
           
 
Method Summary
 void create(com.hp.hpl.jena.ontology.OntModel model, java.lang.String individualUri)
          Creates a new instance
 void createClone(com.hp.hpl.jena.ontology.OntModel model, MVSelectionIndividual mvSelectionIndividual)
          Creates a new document with the same properties as the specified individual
 java.lang.String getContext()
          Returns the context of the selection
 java.lang.Integer getHeight()
          Returns the height of the selection
 java.lang.String getTree()
          Returns the tree of the selection
 java.lang.String getTreeNode()
          Returns the tree node of the selection
 java.lang.Integer getWidth()
          Returns the width of the selection
 java.lang.Integer getX()
          Returns the x coordinate of the selection
 java.lang.Integer getY()
          Returns the y coordinate of the selection
 void setContext(java.lang.String context)
          Sets the context of the selection
 void setHeight(java.lang.Integer height)
          Sets the height of the selection
 void setTree(java.lang.String tree)
          Sets the tree of the selection
 void setTreeNode(java.lang.String treeNode)
          Sets the tree node of the selection
 void setWidth(java.lang.Integer width)
          Sets the width of the selection
 void setX(java.lang.Integer x)
          Sets the x coordinate of the selection
 void setY(java.lang.Integer y)
          Sets the y coordinate of the selection
 
Methods inherited from class de.unidu.is.annotation.rework.ontology.classes.OntologyObjects.OntologyIndividual
addPropertyValue, addTypeValue, clearProperties, create, createClassClone, createClone, getIndividualName, getLocalName, getProperty, getPropertyValue, getPropertyValues, getTypes, getUri, init, isExisting, load, remove, takeProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MV_SELECTION_CLASS

public static final java.lang.String MV_SELECTION_CLASS
Name of the ontology class

See Also:
Constant Field Values

X_COORDINATE_PROPERTY

public static final java.lang.String X_COORDINATE_PROPERTY
Name of the ontology property, which stores the x coordinate of the selection

See Also:
Constant Field Values

Y_COORDINATE_PROPERTY

public static final java.lang.String Y_COORDINATE_PROPERTY
Name of the ontology property, which stores the y coordinate of the selection

See Also:
Constant Field Values

HEIGHT_PROPERTY

public static final java.lang.String HEIGHT_PROPERTY
Name of the ontology property, which stores the height of the selection

See Also:
Constant Field Values

WIDTH_PROPERTY

public static final java.lang.String WIDTH_PROPERTY
Name of the ontology property, which stores the width of the selection

See Also:
Constant Field Values

TREE_PROPERTY

public static final java.lang.String TREE_PROPERTY
Name of the ontology property, which stores the tree of the selection

See Also:
Constant Field Values

TREE_NODE_PROPERTY

public static final java.lang.String TREE_NODE_PROPERTY
Name of the ontology property, which stores the tree node of the selection

See Also:
Constant Field Values

CONTEXT_PROPERTY

public static final java.lang.String CONTEXT_PROPERTY
Name of the ontology property, which stores the context of the selection

See Also:
Constant Field Values
Constructor Detail

MVSelectionIndividual

public MVSelectionIndividual()
Method Detail

create

public void create(com.hp.hpl.jena.ontology.OntModel model,
                   java.lang.String individualUri)
Creates a new instance

Overrides:
create in class OntologyIndividual
Parameters:
model - Model
individualUri - URI of the new individual

createClone

public void createClone(com.hp.hpl.jena.ontology.OntModel model,
                        MVSelectionIndividual mvSelectionIndividual)
Creates a new document with the same properties as the specified individual

Parameters:
model - Model
mvSelectionIndividual - Document individual to copy

setX

public void setX(java.lang.Integer x)
Sets the x coordinate of the selection

Parameters:
x - X coordinate

getX

public java.lang.Integer getX()
Returns the x coordinate of the selection

Returns:
x coordinate

setY

public void setY(java.lang.Integer y)
Sets the y coordinate of the selection

Parameters:
y - Y coordinate

getY

public java.lang.Integer getY()
Returns the y coordinate of the selection

Returns:
y coordinate

setHeight

public void setHeight(java.lang.Integer height)
Sets the height of the selection

Parameters:
height - Height

getHeight

public java.lang.Integer getHeight()
Returns the height of the selection

Returns:
Height

setWidth

public void setWidth(java.lang.Integer width)
Sets the width of the selection

Parameters:
width - Width

getWidth

public java.lang.Integer getWidth()
Returns the width of the selection

Returns:
Width

setTree

public void setTree(java.lang.String tree)
Sets the tree of the selection

Parameters:
tree - Tree

getTree

public java.lang.String getTree()
Returns the tree of the selection

Returns:
Tree

setTreeNode

public void setTreeNode(java.lang.String treeNode)
Sets the tree node of the selection

Parameters:
treeNode - Tree node

getTreeNode

public java.lang.String getTreeNode()
Returns the tree node of the selection

Returns:
Tree node

setContext

public void setContext(java.lang.String context)
Sets the context of the selection

Parameters:
context - Context

getContext

public java.lang.String getContext()
Returns the context of the selection

Returns:
Context