|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cvm.model.handlers.schema.control.ConnectionObject
public class ConnectionObject
Connection information of the control schema.
Constructor Summary | |
---|---|
ConnectionObject(java.lang.String sConID)
|
Method Summary | |
---|---|
void |
addDevice(ConnectionDevice dev)
Adds a new device to the connection. |
void |
addFormTypeRefs(ConnectionFormTypeNameRef ref)
Add a formTypeRefs to the Connection. |
void |
addMediumTypeRef(ConnectionMediumTypeRef ref)
Add a mediumTypeRefs to the ControlSchema. |
boolean |
equals(java.lang.Object obj)
Used for comparing Connections. |
java.lang.String |
getBandwidth()
Returns the bandwith for this connection. |
java.lang.String |
getConnectionID()
Returns the connecionID for this connection. |
java.util.ArrayList<ConnectionDevice> |
getDevices()
Gets the device list for this connection. |
java.util.ArrayList<ConnectionFormTypeNameRef> |
getFormTypeRefs()
Returns the formTypeRefs list. |
java.util.ArrayList<ConnectionMediumTypeRef> |
getMediumTypeRefs()
Returns the mediumRefs list. |
void |
setBandwidth(java.lang.String band)
Sets the bandwidth for this connection. |
void |
setConnectionID(java.lang.String connID)
Sets the connectionID |
void |
setDevices(java.util.ArrayList<ConnectionDevice> devs)
Sets the new list of devices. |
void |
setFormTypeRefs(java.util.ArrayList<ConnectionFormTypeNameRef> newRefs)
Replaces the formTypeRefs list. |
void |
setMediumTypeRefs(java.util.ArrayList<ConnectionMediumTypeRef> newRefs)
Replaces the mediumTypeRefs list. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionObject(java.lang.String sConID)
Method Detail |
---|
public void addDevice(ConnectionDevice dev)
dev
- device to add.ConnectionDevice
public java.lang.String getConnectionID()
public void setConnectionID(java.lang.String connID)
connID
- new ID to set.public java.lang.String getBandwidth()
public void setBandwidth(java.lang.String band)
band
- new bandwidth to set.public java.util.ArrayList<ConnectionDevice> getDevices()
public void setDevices(java.util.ArrayList<ConnectionDevice> devs)
devs
- new list to set.public void addFormTypeRefs(ConnectionFormTypeNameRef ref)
ref
- ConnetionMediumTypeRef instance to add.public java.util.ArrayList<ConnectionFormTypeNameRef> getFormTypeRefs()
public void setFormTypeRefs(java.util.ArrayList<ConnectionFormTypeNameRef> newRefs)
newRefs
- new mediumTypeRefs list.public void addMediumTypeRef(ConnectionMediumTypeRef ref)
ref
- ConnetionMediumTypeRef instance to add.public java.util.ArrayList<ConnectionMediumTypeRef> getMediumTypeRefs()
public void setMediumTypeRefs(java.util.ArrayList<ConnectionMediumTypeRef> newRefs)
newRefs
- new ConnectionMediumTypeRef list.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |