org.opennms.web.map.db
Class DbMap

java.lang.Object
  extended by org.opennms.web.map.db.DbMap
Direct Known Subclasses:
VMap

public class DbMap
extends Object

DbMap class.

Since:
1.8.1
Version:
$Id: $
Author:
ranger

Constructor Summary
DbMap()
          Constructor for DbMap.
DbMap(int id, String name, String owner)
          Constructor for DbMap.
DbMap(int id, String name, String background, String owner, String accessMode, String userLastModifies, float scale, int offsetX, int offsetY, String type, int width, int height)
          Constructor for DbMap.
DbMap(int id, String name, String background, String owner, String group, String accessMode, String userLastModifies, float scale, int offsetX, int offsetY, String type, int width, int height)
          Constructor for DbMap.
 
Method Summary
 String getAccessMode()
          Getter for the field accessMode.
 String getBackground()
          Getter for the field background.
 Timestamp getCreateTime()
          Getter for the field createTime.
 String getGroup()
          Getter for the field group.
 int getHeight()
          Getter for the field height.
 int getId()
          Getter for the field id.
 Timestamp getLastModifiedTime()
          Getter for the field lastModifiedTime.
 String getName()
          Getter for the field name.
 int getOffsetX()
          Getter for the field offsetX.
 int getOffsetY()
          Getter for the field offsetY.
 String getOwner()
          Getter for the field owner.
 float getScale()
          Getter for the field scale.
 String getType()
          Getter for the field type.
 String getUserLastModifies()
          Getter for the field userLastModifies.
 int getWidth()
          Getter for the field width.
 boolean isNew()
          isNew
 void setAccessMode(String accessMode)
          Setter for the field accessMode.
 void setAsNew(boolean v)
          setAsNew
 void setBackground(String background)
          Setter for the field background.
 void setCreateTime(Timestamp createTime)
          Setter for the field createTime.
 void setGroup(String group)
          Setter for the field group.
 void setHeight(int height)
          Setter for the field height.
 void setId(int id)
          Setter for the field id.
 void setLastModifiedTime(Timestamp lastModifiedTime)
          Setter for the field lastModifiedTime.
 void setName(String name)
          Setter for the field name.
 void setOffsetX(int offsetX)
          Setter for the field offsetX.
 void setOffsetY(int offsetY)
          Setter for the field offsetY.
 void setOwner(String owner)
          Setter for the field owner.
 void setScale(float scale)
          Setter for the field scale.
 void setType(String type)
          Setter for the field type.
 void setUserLastModifies(String userLastModifies)
          Setter for the field userLastModifies.
 void setWidth(int width)
          Setter for the field width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbMap

public DbMap()

Constructor for DbMap.


DbMap

public DbMap(int id,
             String name,
             String owner)

Constructor for DbMap.

Parameters:
id - a int.
name - a String object.
owner - a String object.

DbMap

public DbMap(int id,
             String name,
             String background,
             String owner,
             String accessMode,
             String userLastModifies,
             float scale,
             int offsetX,
             int offsetY,
             String type,
             int width,
             int height)

Constructor for DbMap.

Parameters:
id - a int.
name - a String object.
background - a String object.
owner - a String object.
accessMode - a String object.
userLastModifies - a String object.
scale - a float.
offsetX - a int.
offsetY - a int.
type - a String object.
width - a int.
height - a int.

DbMap

public DbMap(int id,
             String name,
             String background,
             String owner,
             String group,
             String accessMode,
             String userLastModifies,
             float scale,
             int offsetX,
             int offsetY,
             String type,
             int width,
             int height)

Constructor for DbMap.

Parameters:
id - a int.
name - a String object.
background - a String object.
owner - a String object.
group - a String object.
accessMode - a String object.
userLastModifies - a String object.
scale - a float.
offsetX - a int.
offsetY - a int.
type - a String object.
width - a int.
height - a int.
Method Detail

getAccessMode

public String getAccessMode()

Getter for the field accessMode.

Returns:
Returns the accessMode.

setAccessMode

public void setAccessMode(String accessMode)

Setter for the field accessMode.

Parameters:
accessMode - The accessMode to set.

getBackground

public String getBackground()

Getter for the field background.

Returns:
Returns the background.

setBackground

public void setBackground(String background)

Setter for the field background.

Parameters:
background - The background to set.

getCreateTime

public Timestamp getCreateTime()

Getter for the field createTime.

Returns:
Returns the createTime.

setCreateTime

public void setCreateTime(Timestamp createTime)

Setter for the field createTime.

Parameters:
createTime - The createTime to set.

getLastModifiedTime

public Timestamp getLastModifiedTime()

Getter for the field lastModifiedTime.

Returns:
Returns the lastModifiedTime.

setLastModifiedTime

public void setLastModifiedTime(Timestamp lastModifiedTime)

Setter for the field lastModifiedTime.

Parameters:
lastModifiedTime - The lastModifiedTime to set.

getName

public String getName()

Getter for the field name.

Returns:
Returns the name.

setName

public void setName(String name)

Setter for the field name.

Parameters:
name - The name to set.

getOffsetX

public int getOffsetX()

Getter for the field offsetX.

Returns:
Returns the offsetX.

setOffsetX

public void setOffsetX(int offsetX)

Setter for the field offsetX.

Parameters:
offsetX - The offsetX to set.

getOffsetY

public int getOffsetY()

Getter for the field offsetY.

Returns:
Returns the offsetY.

setOffsetY

public void setOffsetY(int offsetY)

Setter for the field offsetY.

Parameters:
offsetY - The offsetY to set.

getOwner

public String getOwner()

Getter for the field owner.

Returns:
Returns the owner.

setOwner

public void setOwner(String owner)

Setter for the field owner.

Parameters:
owner - The owner to set.

getScale

public float getScale()

Getter for the field scale.

Returns:
Returns the scale.

setScale

public void setScale(float scale)

Setter for the field scale.

Parameters:
scale - The scale to set.

getUserLastModifies

public String getUserLastModifies()

Getter for the field userLastModifies.

Returns:
Returns the userLastModifies.

setUserLastModifies

public void setUserLastModifies(String userLastModifies)

Setter for the field userLastModifies.

Parameters:
userLastModifies - The userLastModifies to set.

getType

public String getType()

Getter for the field type.

Returns:
Returns the type.

setType

public void setType(String type)

Setter for the field type.

Parameters:
type - The type to set.

getId

public int getId()

Getter for the field id.

Returns:
a int.

setId

public void setId(int id)

Setter for the field id.

Parameters:
id - a int.

isNew

public boolean isNew()

isNew

Returns:
a boolean.

setAsNew

public void setAsNew(boolean v)

setAsNew

Parameters:
v - a boolean.

getHeight

public int getHeight()

Getter for the field height.

Returns:
a int.

setHeight

public void setHeight(int height)

Setter for the field height.

Parameters:
height - a int.

getWidth

public int getWidth()

Getter for the field width.

Returns:
a int.

setWidth

public void setWidth(int width)

Setter for the field width.

Parameters:
width - a int.

getGroup

public String getGroup()

Getter for the field group.

Returns:
a String object.

setGroup

public void setGroup(String group)

Setter for the field group.

Parameters:
group - a String object.


Copyright © 2011. All Rights Reserved.