com.esri.aims.mtier.model.acetate
Class Acetate

java.lang.Object
  extended by com.esri.aims.mtier.model.acetate.Acetate
All Implemented Interfaces:
Serializable

public class Acetate
extends Object
implements Serializable

Supports methods which set the upper and lower properties scales for individual Acetate objects.

See Also:
Serialized Form

Field Summary
static String DATABASE
           
static String PIXEL
           
 
Constructor Summary
Acetate()
          Constructs an instance of an Acetate object.
 
Method Summary
 AcetateElement getAcetateElement()
          Returns the acetate element assigned to this object.
 CoordSys getCoordSys()
          Returns the CoordSys object assigned to this Acetate object.
 String getLower()
          Returns the lower value associated with this object.
 Object getObject()
          Deprecated. As of ArcIMS 4.0.1 Java Connector, replaced by getAcetateElement().
 String getUnits()
          Returns the Acetate object's units value.
 String getUpper()
          Returns the upper value associated with this object.
 void setAcetateElement(AcetateElement newElement)
          Sets the given Acetate element to the Acetate.
 void setCoordSys(CoordSys obj)
          Sets the CoordSys object for this Acetate object.
 void setLower(String value)
          Sets the lower value for this object.
 void setObject(Object value)
          Deprecated. As of ArcIMS 4.0.1 Java Connector, replaced by setAcetateElement(com.esri.aims.mtier.model.acetate.AcetateElement).
 void setUnits(String value)
          Sets the unit value for this Acetate object.
 void setUpper(String value)
          Sets the upper value for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATABASE

public static final String DATABASE
See Also:
Constant Field Values

PIXEL

public static final String PIXEL
See Also:
Constant Field Values
Constructor Detail

Acetate

public Acetate()
Constructs an instance of an Acetate object.
Acetate acetate = new Acetate();

Method Detail

setUnits

public void setUnits(String value)
Sets the unit value for this Acetate object.

Example:

acetate.setUnits("acetate.PIXEL");

Parameters:
value - the units value.
See Also:
getUnits()

getUnits

public String getUnits()
Returns the Acetate object's units value.

Example:

String units = acetate.getUnits();

Returns:
String
See Also:
setUnits(java.lang.String)

setUpper

public void setUpper(String value)
Sets the upper value for this object.

Example:

acetate.setUpper("1:24000");

Parameters:
value - the upper value.
See Also:
getUpper()

getUpper

public String getUpper()
Returns the upper value associated with this object.

Example:

String upper = acetate.getUpper();

Returns:
String
See Also:
setUpper(java.lang.String)

setLower

public void setLower(String value)
Sets the lower value for this object.

Example:

acetate.setLower("1:15000");

Parameters:
value - the lower value.
See Also:
getLower()

getLower

public String getLower()
Returns the lower value associated with this object.

Example:

String lower = acetate.getLower();

Returns:
String
See Also:
setLower(java.lang.String)

setObject

public void setObject(Object value)
Deprecated. As of ArcIMS 4.0.1 Java Connector, replaced by setAcetateElement(com.esri.aims.mtier.model.acetate.AcetateElement).

Sets the given Acetate object to this object.

Example:

 PointObject pnt = new PointObject();
 pnt.setX(-125.00);
 pnt.setY(45.0);
 acetate.setObject(pnt);
 

Parameters:
value - the acetate object.
See Also:
getObject()

getObject

public Object getObject()
Deprecated. As of ArcIMS 4.0.1 Java Connector, replaced by getAcetateElement().

Returns the acetate object assigned to this object.

Example:

PointObject pnt = (PointObject)acetate.getObject();

Returns:
Object
See Also:
setObject(com.esri.aims.mtier.model.acetate.Object)

setAcetateElement

public void setAcetateElement(AcetateElement newElement)
Sets the given Acetate element to the Acetate.

Example:

 PointObject pnt = new PointObject();
 pnt.setX(-125.00);
 pnt.setY(45.0);
 acetate.setAcetateElement(pnt);
 

Parameters:
newElement - the acetate Element.
See Also:
getAcetateElement()

getAcetateElement

public AcetateElement getAcetateElement()
Returns the acetate element assigned to this object.

Returns:
AcetateElement

setCoordSys

public void setCoordSys(CoordSys obj)
Sets the CoordSys object for this Acetate object.

Example:

 CoordSys coordsys = new CoordSys();
 coordsys.setID(4326);
 acetate.setCoordSys(coordsys);
 

Parameters:
obj - the CoordSys object.
See Also:
getCoordSys()

getCoordSys

public CoordSys getCoordSys()
Returns the CoordSys object assigned to this Acetate object.

Example:

CoordSys coordsys = acetate.getCoordSys();

Returns:
CoordSys
See Also:
setCoordSys(com.esri.aims.mtier.model.map.projection.CoordSys)