|
|||||||||
| Home >> All >> org >> biomage >> [ Protocol overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.biomage.Protocol
Class Hardware

java.lang.Objectorg.biomage.Common.Extendable
org.biomage.Common.Describable
org.biomage.Common.Identifiable
org.biomage.Protocol.Parameterizable
org.biomage.Protocol.Hardware
- All Implemented Interfaces:
- org.biomage.Interface.HasAuditTrail, org.biomage.Interface.HasDescriptions, org.biomage.Interface.HasHardwareManufacturers, org.biomage.Interface.HasParameterTypes, org.biomage.Interface.HasPropertySets, org.biomage.Interface.HasSecurity, org.biomage.Interface.HasSoftwares, org.biomage.Interface.HasType, java.io.Serializable
- public class Hardware
- extends Parameterizable
- implements java.io.Serializable, org.biomage.Interface.HasHardwareManufacturers, org.biomage.Interface.HasSoftwares, org.biomage.Interface.HasType
- extends Parameterizable
Hardware represents the hardware used. Examples of Hardware include: computers, scanners, wash stations etc...
| Nested Class Summary |
| Nested classes inherited from class org.biomage.Interface.HasHardwareManufacturers |
org.biomage.Interface.HasHardwareManufacturers.HardwareManufacturers_list |
| Nested classes inherited from class org.biomage.Interface.HasSoftwares |
org.biomage.Interface.HasSoftwares.Softwares_list |
| Nested classes inherited from class org.biomage.Interface.HasParameterTypes |
org.biomage.Interface.HasParameterTypes.ParameterTypes_list |
| Nested classes inherited from class org.biomage.Interface.HasAuditTrail |
org.biomage.Interface.HasAuditTrail.AuditTrail_list |
| Nested classes inherited from class org.biomage.Interface.HasDescriptions |
org.biomage.Interface.HasDescriptions.Descriptions_list |
| Nested classes inherited from class org.biomage.Interface.HasPropertySets |
org.biomage.Interface.HasPropertySets.PropertySets_list |
| Field Summary | |
private org.biomage.Interface.HasHardwareManufacturers.HardwareManufacturers_list |
hardwareManufacturers
Contact for information on the Hardware. |
(package private) java.lang.String |
make
The make of the Hardware (its manufacturer). |
(package private) java.lang.String |
model
The model (number) of a piece of hardware. |
private org.biomage.Interface.HasSoftwares.Softwares_list |
softwares
Associates Hardware and Software together. |
private org.biomage.Description.OntologyEntry |
type
The type of a piece of Hardware. |
| Fields inherited from class org.biomage.Protocol.Parameterizable |
URI |
| Fields inherited from class org.biomage.Common.Identifiable |
|
| Fields inherited from class org.biomage.Common.Describable |
|
| Fields inherited from class org.biomage.Common.Extendable |
|
| Constructor Summary | |
Hardware()
Default constructor. |
|
Hardware(org.xml.sax.Attributes atts)
Attribute constructor. |
|
| Method Summary | |
void |
addToHardwareManufacturers(org.biomage.AuditAndSecurity.Contact contact)
Method to add Contact to HardwareManufacturers_list |
void |
addToHardwareManufacturers(int position,
org.biomage.AuditAndSecurity.Contact contact)
Method to add Contact at position to HardwareManufacturers_list |
void |
addToSoftwares(int position,
Software software)
Method to add Software at position to Softwares_list |
void |
addToSoftwares(Software software)
Method to add Software to Softwares_list |
org.biomage.AuditAndSecurity.Contact |
getFromHardwareManufacturers(int position)
Method to get Contact from HardwareManufacturers_list |
Software |
getFromSoftwares(int position)
Method to get Software from Softwares_list |
org.biomage.Interface.HasHardwareManufacturers.HardwareManufacturers_list |
getHardwareManufacturers()
Get method for hardwareManufacturers |
java.lang.String |
getMake()
Get method for make |
java.lang.String |
getModel()
Get method for model |
org.biomage.Interface.HasSoftwares.Softwares_list |
getSoftwares()
Get method for softwares |
org.biomage.Description.OntologyEntry |
getType()
Get method for type |
void |
removeElementAtFromHardwareManufacturers(int position)
Method to remove by position from HardwareManufacturers_list |
void |
removeElementAtFromSoftwares(int position)
Method to remove by position from Softwares_list |
void |
removeFromHardwareManufacturers(org.biomage.AuditAndSecurity.Contact contact)
Method to remove first Contact from HardwareManufacturers_list |
void |
removeFromSoftwares(Software software)
Method to remove first Software from Softwares_list |
void |
setHardwareManufacturers(org.biomage.Interface.HasHardwareManufacturers.HardwareManufacturers_list hardwareManufacturers)
Set method for hardwareManufacturers |
void |
setMake(java.lang.String make)
Set method for make |
void |
setModel(java.lang.String model)
Set method for model |
void |
setSoftwares(org.biomage.Interface.HasSoftwares.Softwares_list softwares)
Set method for softwares |
void |
setType(org.biomage.Description.OntologyEntry type)
Set method for type |
void |
writeAssociations(java.io.Writer out)
writeAssociations |
void |
writeAttributes(java.io.Writer out)
writeAttributes |
void |
writeMAGEML(java.io.Writer out)
writeMAGEML |
| Methods inherited from class org.biomage.Protocol.Parameterizable |
addToParameterTypes, addToParameterTypes, getFromParameterTypes, getParameterTypes, getURI, removeElementAtFromParameterTypes, removeFromParameterTypes, setParameterTypes, setURI |
| Methods inherited from class org.biomage.Common.Identifiable |
getIdentifier, getName, setIdentifier, setName |
| Methods inherited from class org.biomage.Common.Describable |
addToAuditTrail, addToAuditTrail, addToDescriptions, addToDescriptions, getAuditTrail, getDescriptions, getFromAuditTrail, getFromDescriptions, getSecurity, removeElementAtFromAuditTrail, removeElementAtFromDescriptions, removeFromAuditTrail, removeFromDescriptions, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from class org.biomage.Common.Extendable |
addToPropertySets, addToPropertySets, getFromPropertySets, getPropertySets, removeElementAtFromPropertySets, removeFromPropertySets, setPropertySets |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
model
java.lang.String model
- The model (number) of a piece of hardware.
make
java.lang.String make
- The make of the Hardware (its manufacturer).
hardwareManufacturers
private org.biomage.Interface.HasHardwareManufacturers.HardwareManufacturers_list hardwareManufacturers
- Contact for information on the Hardware.
softwares
private org.biomage.Interface.HasSoftwares.Softwares_list softwares
- Associates Hardware and Software together.
type
private org.biomage.Description.OntologyEntry type
- The type of a piece of Hardware. Examples include: scanner, wash
station...
| Constructor Detail |
Hardware
public Hardware()
- Default constructor.
Hardware
public Hardware(org.xml.sax.Attributes atts)
- Attribute constructor.
Looks up the attributes in the parameter and casts them from strings
appropriately
| Method Detail |
writeMAGEML
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
- writeMAGEML
This method is responsible for assembling the attribute and association data into XML. It creates the object tag and then calls the writeAttributes and writeAssociation methods.
- Overrides:
writeMAGEMLin classParameterizable
writeAttributes
public void writeAttributes(java.io.Writer out) throws java.io.IOException
- writeAttributes
This method is responsible for assembling the attribute data into XML. It calls the super method to write out all attributes of this class and it's ancestors.
- Overrides:
writeAttributesin classParameterizable
writeAssociations
public void writeAssociations(java.io.Writer out) throws java.io.IOException
- writeAssociations
This method is responsible for assembling the association data into XML. It calls the super method to write out all associations of this class's ancestors.
- Overrides:
writeAssociationsin classParameterizable
setModel
public void setModel(java.lang.String model)
- Set method for model
getModel
public java.lang.String getModel()
- Get method for model
setMake
public void setMake(java.lang.String make)
- Set method for make
getMake
public java.lang.String getMake()
- Get method for make
setHardwareManufacturers
public void setHardwareManufacturers(org.biomage.Interface.HasHardwareManufacturers.HardwareManufacturers_list hardwareManufacturers)
- Set method for hardwareManufacturers
- Specified by:
setHardwareManufacturersin interfaceorg.biomage.Interface.HasHardwareManufacturers
getHardwareManufacturers
public org.biomage.Interface.HasHardwareManufacturers.HardwareManufacturers_list getHardwareManufacturers()
- Get method for hardwareManufacturers
- Specified by:
getHardwareManufacturersin interfaceorg.biomage.Interface.HasHardwareManufacturers
addToHardwareManufacturers
public void addToHardwareManufacturers(org.biomage.AuditAndSecurity.Contact contact)
- Method to add Contact to HardwareManufacturers_list
- Specified by:
addToHardwareManufacturersin interfaceorg.biomage.Interface.HasHardwareManufacturers
addToHardwareManufacturers
public void addToHardwareManufacturers(int position,
org.biomage.AuditAndSecurity.Contact contact)
- Method to add Contact at position to HardwareManufacturers_list
- Specified by:
addToHardwareManufacturersin interfaceorg.biomage.Interface.HasHardwareManufacturers
getFromHardwareManufacturers
public org.biomage.AuditAndSecurity.Contact getFromHardwareManufacturers(int position)
- Method to get Contact from HardwareManufacturers_list
- Specified by:
getFromHardwareManufacturersin interfaceorg.biomage.Interface.HasHardwareManufacturers
removeElementAtFromHardwareManufacturers
public void removeElementAtFromHardwareManufacturers(int position)
- Method to remove by position from HardwareManufacturers_list
- Specified by:
removeElementAtFromHardwareManufacturersin interfaceorg.biomage.Interface.HasHardwareManufacturers
removeFromHardwareManufacturers
public void removeFromHardwareManufacturers(org.biomage.AuditAndSecurity.Contact contact)
- Method to remove first Contact from HardwareManufacturers_list
- Specified by:
removeFromHardwareManufacturersin interfaceorg.biomage.Interface.HasHardwareManufacturers
setSoftwares
public void setSoftwares(org.biomage.Interface.HasSoftwares.Softwares_list softwares)
- Set method for softwares
- Specified by:
setSoftwaresin interfaceorg.biomage.Interface.HasSoftwares
getSoftwares
public org.biomage.Interface.HasSoftwares.Softwares_list getSoftwares()
- Get method for softwares
- Specified by:
getSoftwaresin interfaceorg.biomage.Interface.HasSoftwares
addToSoftwares
public void addToSoftwares(Software software)
- Method to add Software to Softwares_list
- Specified by:
addToSoftwaresin interfaceorg.biomage.Interface.HasSoftwares
addToSoftwares
public void addToSoftwares(int position,
Software software)
- Method to add Software at position to Softwares_list
- Specified by:
addToSoftwaresin interfaceorg.biomage.Interface.HasSoftwares
getFromSoftwares
public Software getFromSoftwares(int position)
- Method to get Software from Softwares_list
- Specified by:
getFromSoftwaresin interfaceorg.biomage.Interface.HasSoftwares
removeElementAtFromSoftwares
public void removeElementAtFromSoftwares(int position)
- Method to remove by position from Softwares_list
- Specified by:
removeElementAtFromSoftwaresin interfaceorg.biomage.Interface.HasSoftwares
removeFromSoftwares
public void removeFromSoftwares(Software software)
- Method to remove first Software from Softwares_list
- Specified by:
removeFromSoftwaresin interfaceorg.biomage.Interface.HasSoftwares
setType
public void setType(org.biomage.Description.OntologyEntry type)
- Set method for type
- Specified by:
setTypein interfaceorg.biomage.Interface.HasType
getType
public org.biomage.Description.OntologyEntry getType()
- Get method for type
- Specified by:
getTypein interfaceorg.biomage.Interface.HasType
|
|||||||||
| Home >> All >> org >> biomage >> [ Protocol overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC