cvm.model.handlers.schema.control
Class ConnectionIsAttachedType

java.lang.Object
  extended by cvm.model.handlers.schema.control.ConnectionIsAttachedType

public class ConnectionIsAttachedType
extends java.lang.Object

Object representation of isAttached

Author:
Frank Hernandez

Constructor Summary
ConnectionIsAttachedType(java.lang.String perId, java.lang.String devId)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Used for comparing isAttached objects.
 java.lang.String getDeviceID()
          Get the ID of the device.
 java.lang.String getPersonID()
          Returns the ID of the person is attached to.
 void setDeviceID(java.lang.String str)
          Set the value of deviceID
 void setPersonID(java.lang.String str)
          Updates the value of personID
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionIsAttachedType

public ConnectionIsAttachedType(java.lang.String perId,
                                java.lang.String devId)
Method Detail

getPersonID

public java.lang.String getPersonID()
Returns the ID of the person is attached to.

Returns:
value of personID

setPersonID

public void setPersonID(java.lang.String str)
Updates the value of personID

Parameters:
str -

getDeviceID

public java.lang.String getDeviceID()
Get the ID of the device.

Returns:
value of deviceID

setDeviceID

public void setDeviceID(java.lang.String str)
Set the value of deviceID

Parameters:
str -

equals

public boolean equals(java.lang.Object obj)
Used for comparing isAttached objects.

Overrides:
equals in class java.lang.Object