|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.Common.Extendable
org.biomage.Common.Describable
org.biomage.Common.Identifiable
org.biomage.Protocol.Parameterizable
org.biomage.Protocol.Hardware
public class Hardware
Hardware represents the hardware used. Examples of Hardware include: computers, scanners, wash stations etc...
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biomage.Interface.HasHardwareManufacturers |
---|
HasHardwareManufacturers.HardwareManufacturers_list |
Nested classes/interfaces inherited from interface org.biomage.Interface.HasSoftwares |
---|
HasSoftwares.Softwares_list |
Nested classes/interfaces inherited from interface org.biomage.Interface.HasParameterTypes |
---|
HasParameterTypes.ParameterTypes_list |
Nested classes/interfaces inherited from interface org.biomage.Interface.HasAuditTrail |
---|
HasAuditTrail.AuditTrail_list |
Nested classes/interfaces inherited from interface org.biomage.Interface.HasDescriptions |
---|
HasDescriptions.Descriptions_list |
Nested classes/interfaces inherited from interface org.biomage.Interface.HasPropertySets |
---|
HasPropertySets.PropertySets_list |
Field Summary | |
---|---|
protected java.util.List |
hardwareManufacturers
Contact for information on the Hardware. |
protected java.util.List |
softwares
Associates Hardware and Software together. |
protected OntologyEntry |
type
The type of a piece of Hardware. |
Fields inherited from class org.biomage.Protocol.Parameterizable |
---|
parameterTypes |
Fields inherited from class org.biomage.Common.Describable |
---|
security |
Fields inherited from class org.biomage.Common.Extendable |
---|
editable, id, securedElementId |
Constructor Summary | |
---|---|
Hardware()
Default constructor. |
|
Hardware(org.xml.sax.Attributes atts)
Attribute constructor. |
Method Summary | |
---|---|
void |
addToHardwareManufacturers(Contact contact)
Method to add Contact to HardwareManufacturers_list |
void |
addToHardwareManufacturers(int position,
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 |
boolean |
emptyMAGEobject()
|
Contact |
getFromHardwareManufacturers(int position)
Method to get Contact from HardwareManufacturers_list |
Software |
getFromSoftwares(int position)
Method to get Software from Softwares_list |
HasHardwareManufacturers.HardwareManufacturers_list |
getHardwareManufacturers()
Get method for hardwareManufacturers |
java.lang.String |
getMake()
Get method for make |
java.lang.String |
getModel()
Get method for model |
java.lang.String |
getModelClassName()
|
HasSoftwares.Softwares_list |
getSoftwares()
Get method for softwares |
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(Contact contact)
Method to remove first Contact from HardwareManufacturers_list |
void |
removeFromSoftwares(Software software)
Method to remove first Software from Softwares_list |
void |
setAttributes(org.xml.sax.Attributes atts)
|
void |
setHardwareManufacturers(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(HasSoftwares.Softwares_list softwares)
Set method for softwares |
void |
setType(OntologyEntry type)
Set method for type |
void |
writeAssociations(java.io.Writer out)
writeAssociations This method is responsible for assembling the association data into XML. |
void |
writeAttributes(java.io.Writer out)
writeAttributes This method is responsible for assembling the attribute data into XML. |
void |
writeMAGEML(java.io.Writer out)
writeMAGEML This method is responsible for assembling the attribute and association data into XML. |
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, toString |
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, equals, getFromPropertySets, getId, getIsEditable, getPropertySets, getSecuredElementId, isEditable, removeElementAtFromPropertySets, removeFromPropertySets, setId, setIsEditable, setPropertySets, setSecuredElementId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected OntologyEntry type
protected java.util.List softwares
protected java.util.List hardwareManufacturers
Constructor Detail |
---|
public Hardware()
public Hardware(org.xml.sax.Attributes atts)
atts:
- the attribute list.Method Detail |
---|
public void setAttributes(org.xml.sax.Attributes atts)
setAttributes
in class Parameterizable
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
writeMAGEML
in class Parameterizable
java.io.IOException
public boolean emptyMAGEobject()
public void writeAttributes(java.io.Writer out) throws java.io.IOException
writeAttributes
in class Parameterizable
java.io.IOException
public void writeAssociations(java.io.Writer out) throws java.io.IOException
writeAssociations
in class Parameterizable
java.io.IOException
public void setModel(java.lang.String model)
value
- to setpublic java.lang.String getModel()
public void setMake(java.lang.String make)
value
- to setpublic java.lang.String getMake()
public java.lang.String getModelClassName()
getModelClassName
in class Parameterizable
public void setType(OntologyEntry type)
setType
in interface HasType
value
- to setpublic OntologyEntry getType()
getType
in interface HasType
public void setSoftwares(HasSoftwares.Softwares_list softwares)
setSoftwares
in interface HasSoftwares
value
- to setpublic HasSoftwares.Softwares_list getSoftwares()
getSoftwares
in interface HasSoftwares
public void addToSoftwares(Software software)
addToSoftwares
in interface HasSoftwares
public void addToSoftwares(int position, Software software)
addToSoftwares
in interface HasSoftwares
public Software getFromSoftwares(int position)
getFromSoftwares
in interface HasSoftwares
public void removeElementAtFromSoftwares(int position)
removeElementAtFromSoftwares
in interface HasSoftwares
public void removeFromSoftwares(Software software)
removeFromSoftwares
in interface HasSoftwares
public void setHardwareManufacturers(HasHardwareManufacturers.HardwareManufacturers_list hardwareManufacturers)
setHardwareManufacturers
in interface HasHardwareManufacturers
value
- to setpublic HasHardwareManufacturers.HardwareManufacturers_list getHardwareManufacturers()
getHardwareManufacturers
in interface HasHardwareManufacturers
public void addToHardwareManufacturers(Contact contact)
addToHardwareManufacturers
in interface HasHardwareManufacturers
public void addToHardwareManufacturers(int position, Contact contact)
addToHardwareManufacturers
in interface HasHardwareManufacturers
public Contact getFromHardwareManufacturers(int position)
getFromHardwareManufacturers
in interface HasHardwareManufacturers
public void removeElementAtFromHardwareManufacturers(int position)
removeElementAtFromHardwareManufacturers
in interface HasHardwareManufacturers
public void removeFromHardwareManufacturers(Contact contact)
removeFromHardwareManufacturers
in interface HasHardwareManufacturers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |