org.weblab_project.core.model.multimedia
Class Coordinate

java.lang.Object
  extended by org.weblab_project.core.model.multimedia.Coordinate
All Implemented Interfaces:
java.io.Serializable

public class Coordinate
extends java.lang.Object
implements java.io.Serializable

A coordinate is a simple container of two dimensional coordinate aiming at localising information spatially in a mediaUnit; for instance in an image or a video. Those dimensions are generally explained in pixel, given the fact that it starts at bottom-left with (0;0). Other measure somehow references are possible. Data Exchange Model for WebLab platform provided by EADS Multimedia package - Version 1.1 - 2009/05

Java class for coordinate complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="coordinate">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="x" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="y" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  int x
           
protected  int y
           
 
Constructor Summary
Coordinate()
           
 
Method Summary
 int getX()
          Gets the value of the x property.
 int getY()
          Gets the value of the y property.
 void setX(int value)
          Sets the value of the x property.
 void setY(int value)
          Sets the value of the y property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected int x

y

protected int y
Constructor Detail

Coordinate

public Coordinate()
Method Detail

getX

public int getX()
Gets the value of the x property.


setX

public void setX(int value)
Sets the value of the x property.


getY

public int getY()
Gets the value of the y property.


setY

public void setY(int value)
Sets the value of the y property.



Copyright © 2004-2010. All Rights Reserved.