|
||||||||||
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.AuditAndSecurity.Contact
public abstract class Contact
A contact is either a person or an organization.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biomage.Interface.HasRoles |
---|
HasRoles.Roles_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 |
roles
The roles (lab equipment sales, contractor, etc.) the contact fills. |
Fields inherited from class org.biomage.Common.Describable |
---|
security |
Fields inherited from class org.biomage.Common.Extendable |
---|
editable, id, securedElementId |
Constructor Summary | |
---|---|
Contact()
Default constructor. |
|
Contact(org.xml.sax.Attributes atts)
Attribute constructor. |
Method Summary | |
---|---|
void |
addToRoles(int position,
OntologyEntry ontologyEntry)
Method to add OntologyEntry at position to Roles_list |
void |
addToRoles(OntologyEntry ontologyEntry)
Method to add OntologyEntry to Roles_list |
java.lang.String |
getAddress()
Get method for address |
java.lang.String |
getEmail()
Get method for email |
java.lang.String |
getFax()
Get method for fax |
OntologyEntry |
getFromRoles(int position)
Method to get OntologyEntry from Roles_list |
java.lang.String |
getModelClassName()
|
java.lang.String |
getPhone()
Get method for phone |
HasRoles.Roles_list |
getRoles()
Get method for roles |
java.lang.String |
getTollFreePhone()
Get method for tollFreePhone |
java.lang.String |
getURI()
Get method for URI |
void |
removeElementAtFromRoles(int position)
Method to remove by position from Roles_list |
void |
removeFromRoles(OntologyEntry ontologyEntry)
Method to remove first OntologyEntry from Roles_list |
void |
setAddress(java.lang.String address)
Set method for address |
void |
setAttributes(org.xml.sax.Attributes atts)
|
void |
setEmail(java.lang.String email)
Set method for email |
void |
setFax(java.lang.String fax)
Set method for fax |
void |
setPhone(java.lang.String phone)
Set method for phone |
void |
setRoles(HasRoles.Roles_list roles)
Set method for roles |
void |
setTollFreePhone(java.lang.String tollFreePhone)
Set method for tollFreePhone |
void |
setURI(java.lang.String URI)
Set method for URI |
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.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 java.util.List roles
Constructor Detail |
---|
public Contact()
public Contact(org.xml.sax.Attributes atts)
atts:
- the attribute list.Method Detail |
---|
public void setAttributes(org.xml.sax.Attributes atts)
setAttributes
in class Identifiable
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
writeMAGEML
in class Identifiable
java.io.IOException
public void writeAttributes(java.io.Writer out) throws java.io.IOException
writeAttributes
in class Identifiable
java.io.IOException
public void writeAssociations(java.io.Writer out) throws java.io.IOException
writeAssociations
in class Identifiable
java.io.IOException
public void setURI(java.lang.String URI)
value
- to setpublic java.lang.String getURI()
public void setAddress(java.lang.String address)
value
- to setpublic java.lang.String getAddress()
public void setPhone(java.lang.String phone)
value
- to setpublic java.lang.String getPhone()
public void setTollFreePhone(java.lang.String tollFreePhone)
value
- to setpublic java.lang.String getTollFreePhone()
public void setEmail(java.lang.String email)
value
- to setpublic java.lang.String getEmail()
public void setFax(java.lang.String fax)
value
- to setpublic java.lang.String getFax()
public java.lang.String getModelClassName()
getModelClassName
in class Identifiable
public void setRoles(HasRoles.Roles_list roles)
setRoles
in interface HasRoles
value
- to setpublic HasRoles.Roles_list getRoles()
getRoles
in interface HasRoles
public void addToRoles(OntologyEntry ontologyEntry)
addToRoles
in interface HasRoles
public void addToRoles(int position, OntologyEntry ontologyEntry)
addToRoles
in interface HasRoles
public OntologyEntry getFromRoles(int position)
getFromRoles
in interface HasRoles
public void removeElementAtFromRoles(int position)
removeElementAtFromRoles
in interface HasRoles
public void removeFromRoles(OntologyEntry ontologyEntry)
removeFromRoles
in interface HasRoles
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |