|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nci.mageom.domain.impl.MAGEOMObject
gov.nih.nci.mageom.domain.impl.ExtendableImpl
gov.nih.nci.mageom.domain.impl.DescribableImpl
gov.nih.nci.mageom.domain.Protocol.impl.ParameterizableApplicationImpl
gov.nih.nci.mageom.domain.Protocol.impl.HardwareApplicationImpl
public class HardwareApplicationImpl
The use of a piece of hardware with the requisite Parameters and ParameterValues.
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected Hardware |
hardware
DOCUMENT ME |
protected java.lang.Long |
hardwareId
The internal ID of the associated hardware object. |
protected java.lang.String |
serialNumber
Manufacturer's identifier for the Hardware. |
| Fields inherited from class gov.nih.nci.mageom.domain.Protocol.impl.ParameterizableApplicationImpl |
|---|
parameterValues, parameterValuesCount |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl |
|---|
auditTrail, auditTrailCount, descriptions, descriptionsCount, security, securityId |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
propertySets, propertySetsCount, securedElementId |
| Constructor Summary | |
|---|---|
HardwareApplicationImpl()
Default constructor |
|
| Method Summary | |
|---|---|
Hardware |
getHardware()
Returns the value of this HardwareApplication object's hardware attribute. |
java.lang.String |
getSerialNumber()
Returns the value of this HardwareApplication object's serialNumber attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
HardwareApplication[] |
searchHardwareApplications(HardwareApplicationSearchCriteria criteria)
Returns an array of HardwareApplication objects that
satisfy the given HardwareApplicationSearchCriteria. |
void |
setHardware(Hardware p_hardware)
Sets the hardware attribute. |
void |
setSerialNumber(java.lang.String p_serialNumber)
Sets the serialNumber attribute. |
java.lang.String |
toString()
Returns a String representation of this object suitable for console display. |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLDoc(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
Returns an XML representation of the object. |
| Methods inherited from class gov.nih.nci.mageom.domain.Protocol.impl.ParameterizableApplicationImpl |
|---|
getParameterValues, getParameterValuesCount, searchParameterizableApplications, setParameterValues |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl |
|---|
getAuditTrail, getAuditTrailCount, getDescriptions, getDescriptionsCount, getSecurity, searchDescribables, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
getPropertySets, getPropertySetsCount, getSecuredElementId, searchExtendables, setPropertySets, setSecuredElementId |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.MAGEOMObject |
|---|
getId, getIsEditable, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gov.nih.nci.mageom.domain.Protocol.ParameterizableApplication |
|---|
getParameterValues, setParameterValues |
| Methods inherited from interface gov.nih.nci.mageom.domain.Describable |
|---|
getAuditTrail, getDescriptions, getSecurity, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from interface gov.nih.nci.mageom.domain.Extendable |
|---|
getPropertySets, setPropertySets |
| Field Detail |
|---|
protected static java.util.ArrayList allAssociationMethods
protected static java.util.Hashtable associationMethods
protected java.lang.String serialNumber
protected Hardware hardware
protected java.lang.Long hardwareId
| Constructor Detail |
|---|
public HardwareApplicationImpl()
| Method Detail |
|---|
protected void init()
init in class ParameterizableApplicationImpl
public HardwareApplication[] searchHardwareApplications(HardwareApplicationSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
HardwareApplication objects that
satisfy the given HardwareApplicationSearchCriteria.
criteria - The HardwareApplicationSearchCriteria
which represents a query for HardwareApplication objects.
HardwareApplication objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setSerialNumber(java.lang.String p_serialNumber)
HardwareApplication object.
setSerialNumber in interface HardwareApplicationp_serialNumber - The new value for serialNumber.HardwareApplication.getSerialNumber()public java.lang.String getSerialNumber()
HardwareApplicationHardwareApplication object's serialNumber attribute.
Description of serialNumber:
Manufacturer's identifier for the Hardware.
getSerialNumber in interface HardwareApplicationString The value of serialNumber.HardwareApplication.getSerialNumber()public void setHardware(Hardware p_hardware)
HardwareApplication object.
setHardware in interface HardwareApplicationp_hardware - The new value for hardware.HardwareApplication.getHardware()public Hardware getHardware()
HardwareApplicationHardwareApplication object's hardware attribute.
getHardware in interface HardwareApplicationgov.nih.nci.mageom.bean.Protocol.Hardware The value of hardware.HardwareApplication.getHardware()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class ParameterizableApplicationImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class ParameterizableApplicationImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class ParameterizableApplicationImpldoc - the working documentfillOutValues - a list of attribute names that should have
full XML for their values.
public java.util.Hashtable getXMLMethodDescriptors()
XMLMethodDescriptors descriptors of
the association methods of this object.
getXMLMethodDescriptors in class ParameterizableApplicationImplpublic java.lang.String toString()
toString in class ParameterizableApplicationImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||