|
||||||||||
| 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.impl.IdentifiableImpl
gov.nih.nci.mageom.domain.Protocol.impl.ParameterizableImpl
gov.nih.nci.mageom.domain.Protocol.impl.HardwareImpl
public class HardwareImpl
Hardware represents the hardware used. Examples of Hardware include: computers, scanners, wash stations etc...
| Field Summary | |
|---|---|
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected Contact[] |
hardwareManufacturers
DOCUMENT ME |
protected int |
hardwareManufacturersCount
The count of Contact objects. |
protected java.lang.String |
make
The make of the Hardware (its manufacturer). |
protected java.lang.String |
model
The model (number) of a piece of hardware. |
protected Software[] |
softwares
DOCUMENT ME |
protected int |
softwaresCount
The count of Software objects. |
protected OntologyEntry |
type
DOCUMENT ME |
protected java.lang.Long |
typeId
The internal ID of the associated type object. |
| Fields inherited from class gov.nih.nci.mageom.domain.Protocol.impl.ParameterizableImpl |
|---|
parameterTypes, parameterTypesCount, URI |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.IdentifiableImpl |
|---|
identifier, name |
| 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 | |
|---|---|
HardwareImpl()
Default constructor |
|
| Method Summary | |
|---|---|
Contact[] |
getHardwareManufacturers()
Returns the value of this Hardware object's hardwareManufacturers attribute. |
int |
getHardwareManufacturersCount()
Returns the count of all Contact
associated with this Hardware object. |
java.lang.String |
getMake()
Returns the value of this Hardware object's make attribute. |
java.lang.String |
getModel()
Returns the value of this Hardware object's model attribute. |
Software[] |
getSoftwares()
Returns the value of this Hardware object's softwares attribute. |
int |
getSoftwaresCount()
Returns the count of all Software
associated with this Hardware object. |
OntologyEntry |
getType()
Returns the value of this Hardware object's type attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
Hardware[] |
searchHardwares(HardwareSearchCriteria criteria)
Returns an array of Hardware objects that
satisfy the given HardwareSearchCriteria. |
void |
setHardwareManufacturers(Contact[] p_hardwareManufacturers)
Sets the hardwareManufacturers attribute. |
void |
setMake(java.lang.String p_make)
Sets the make attribute. |
void |
setModel(java.lang.String p_model)
Sets the model attribute. |
void |
setSoftwares(Software[] p_softwares)
Sets the softwares attribute. |
void |
setType(OntologyEntry p_type)
Sets the type 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.ParameterizableImpl |
|---|
getParameterTypes, getParameterTypesCount, getURI, searchParameterizables, setParameterTypes, setURI |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.IdentifiableImpl |
|---|
getIdentifier, getName, searchIdentifiables, setIdentifier, setName |
| 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.Parameterizable |
|---|
getParameterTypes, getURI, setParameterTypes, setURI |
| Methods inherited from interface gov.nih.nci.mageom.domain.Identifiable |
|---|
getIdentifier, getName, setIdentifier, setName |
| 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 model
protected java.lang.String make
protected int hardwareManufacturersCount
protected Contact[] hardwareManufacturers
protected int softwaresCount
protected Software[] softwares
protected OntologyEntry type
protected java.lang.Long typeId
| Constructor Detail |
|---|
public HardwareImpl()
| Method Detail |
|---|
protected void init()
init in class ParameterizableImpl
public Hardware[] searchHardwares(HardwareSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
Hardware objects that
satisfy the given HardwareSearchCriteria.
criteria - The HardwareSearchCriteria
which represents a query for Hardware objects.
Hardware objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setModel(java.lang.String p_model)
Hardware object.
setModel in interface Hardwarep_model - The new value for model.Hardware.getModel()public java.lang.String getModel()
HardwareHardware object's model attribute.
Description of model:
The model (number) of a piece of hardware.
getModel in interface HardwareString The value of model.Hardware.getModel()public void setMake(java.lang.String p_make)
Hardware object.
setMake in interface Hardwarep_make - The new value for make.Hardware.getMake()public java.lang.String getMake()
HardwareHardware object's make attribute.
Description of make:
The make of the Hardware (its manufacturer).
getMake in interface HardwareString The value of make.Hardware.getMake()public void setHardwareManufacturers(Contact[] p_hardwareManufacturers)
Hardware object.
setHardwareManufacturers in interface Hardwarep_hardwareManufacturers - The new value for hardwareManufacturers.Hardware.getHardwareManufacturers()public Contact[] getHardwareManufacturers()
HardwareHardware object's hardwareManufacturers attribute.
getHardwareManufacturers in interface Hardwaregov.nih.nci.mageom.bean.AuditAndSecurity.Contact[] The value of hardwareManufacturers.Hardware.getHardwareManufacturers()public void setSoftwares(Software[] p_softwares)
Hardware object.
setSoftwares in interface Hardwarep_softwares - The new value for softwares.Hardware.getSoftwares()public Software[] getSoftwares()
HardwareHardware object's softwares attribute.
getSoftwares in interface Hardwaregov.nih.nci.mageom.bean.Protocol.Software[] The value of softwares.Hardware.getSoftwares()public void setType(OntologyEntry p_type)
Hardware object.
setType in interface Hardwarep_type - The new value for type.Hardware.getType()public OntologyEntry getType()
HardwareHardware object's type attribute.
getType in interface Hardwaregov.nih.nci.mageom.bean.Description.OntologyEntry The value of type.Hardware.getType()public int getHardwareManufacturersCount()
Contact
associated with this Hardware object.
Hardware.getHardwareManufacturers()public int getSoftwaresCount()
Software
associated with this Hardware object.
Hardware.getSoftwares()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class ParameterizableImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class ParameterizableImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class ParameterizableImpldoc - 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 ParameterizableImplpublic java.lang.String toString()
toString in class ParameterizableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||