|
|||||||||
| Home >> All >> com >> flexstor >> common >> data >> ejb >> [ machine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.flexstor.common.data.ejb.machine
Class MachineData

java.lang.Objectcom.flexstor.common.data.ejb.Data
com.flexstor.common.data.ejb.machine.MachineData
- All Implemented Interfaces:
- java.io.Serializable
- public class MachineData
- extends com.flexstor.common.data.ejb.Data
This class supports state data for Machine. A Data class holds
all of the state information for Machine and reference pointers
to other classes
- Since:
- FLEXSTOR.db 3.0
- Version:
- 1.0, 12/14/98
| Field Summary | |
static java.lang.String |
IDENTIFIER
|
private boolean |
isDirty
|
protected com.flexstor.common.keys.ejb.MachineKey |
machineKey
|
protected java.lang.String |
machineName
|
protected java.util.Hashtable |
machineSettings
|
(package private) static long |
serialVersionUID
|
| Fields inherited from class com.flexstor.common.data.ejb.Data |
DELETE, DELETED, derived, htModifiedStates, htOptions, MODIFY, modTime, NEW_ENTRY, presentState, prevState, UNCHANGED, UPDATED, WARN_BEFORE_DELETE |
| Constructor Summary | |
MachineData()
Default constructor for MachineData class |
|
MachineData(java.lang.String aMachineName)
Constructor for MachineData class |
|
| Method Summary | |
void |
deleteMachineSetting(java.lang.String aKey)
Remove a machine setting from the collection of machine settings |
boolean |
equals(MachineData aDataObject)
Determine if these two objects are equal, i.e. |
com.flexstor.common.keys.ejb.MachineKey |
getKey()
Return this instance's database object reference |
java.lang.String |
getMachineName()
Return the machine's assigned name (or host name). |
java.lang.String |
getMachineSetting(java.lang.String aKey)
Retrieve a value based on the given key |
java.util.Hashtable |
getMachineSettings()
A collection of settings pertaining to this machine |
com.flexstor.common.keys.ejb.MachineKey |
getReference()
Deprecated. see getKey() |
boolean |
isDirty()
Indicates whether a change has been made to data contained within the object |
void |
setKey(com.flexstor.common.keys.ejb.MachineKey key)
Return this instance's database object reference |
void |
setMachineName(java.lang.String name)
Set the Machine Name |
void |
setMachineSettings(java.util.Hashtable hash)
Set the machine Settings |
java.lang.String |
toString()
Return the contents of the instance as a String. |
void |
updateMachineSetting(java.lang.String aKey,
java.lang.String aValue)
Add or change a machine setting used by the machine |
| Methods inherited from class com.flexstor.common.data.ejb.Data |
assertEquals, changed, fillCloneInfo, getDateModTime, getModTime, getPresentState, getPreviousState, initializeState, isDeleted, isDerived, isModified, isModified, isObjectPersist, isOptionAllowed, resetModifiedStates, rollBackState, setDeleted, setDerived, setModifiedState, setModTime, setModTime, setNewEntry, setOption, setPerisistState, setPreviousState, setState, setUpdated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
IDENTIFIER
public static final java.lang.String IDENTIFIER
- See Also:
- Constant Field Values
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
machineName
protected java.lang.String machineName
isDirty
private boolean isDirty
machineSettings
protected java.util.Hashtable machineSettings
machineKey
protected com.flexstor.common.keys.ejb.MachineKey machineKey
| Constructor Detail |
MachineData
public MachineData()
- Default constructor for MachineData class
Warning Any objects created with this constructor are not updatable or insertable to the database
MachineData
public MachineData(java.lang.String aMachineName)
- Constructor for MachineData class
Warning Any objects created with this constructor are not updatable (insertable, but not updatable) to the database
| Method Detail |
deleteMachineSetting
public void deleteMachineSetting(java.lang.String aKey)
- Remove a machine setting from the collection of machine settings
equals
public boolean equals(MachineData aDataObject)
- Determine if these two objects are equal, i.e. their attributes are equal. This method will not test the
equality of references to other objects
getMachineName
public java.lang.String getMachineName()
- Return the machine's assigned name (or host name).
getMachineSetting
public java.lang.String getMachineSetting(java.lang.String aKey)
- Retrieve a value based on the given key
getMachineSettings
public java.util.Hashtable getMachineSettings()
- A collection of settings pertaining to this machine
getReference
public com.flexstor.common.keys.ejb.MachineKey getReference()
- Deprecated. see getKey()
- Return this instance's database object reference
- Return this instance's database object reference
getKey
public com.flexstor.common.keys.ejb.MachineKey getKey()
- Return this instance's database object reference
setKey
public void setKey(com.flexstor.common.keys.ejb.MachineKey key)
- Return this instance's database object reference
isDirty
public boolean isDirty()
- Indicates whether a change has been made to data contained within the object
toString
public java.lang.String toString()
- Return the contents of the instance as a String. This method is strictly for use by testing classes
and should not be called by business objects
updateMachineSetting
public void updateMachineSetting(java.lang.String aKey, java.lang.String aValue)
- Add or change a machine setting used by the machine
setMachineName
public void setMachineName(java.lang.String name)
- Set the Machine Name
setMachineSettings
public void setMachineSettings(java.util.Hashtable hash)
- Set the machine Settings
|
|||||||||
| Home >> All >> com >> flexstor >> common >> data >> ejb >> [ machine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC