|
||||||||||
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.AuditAndSecurity.Audit
public class Audit
Tracks information on the contact that creates or modifies an object.
Nested Class Summary | |
---|---|
class |
Audit.Action
Inner class for the enumeration values that the attribute action can assume. |
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 Contact |
performer
The contact for creating or changing the instance referred to by the Audit. |
Fields inherited from class org.biomage.Common.Describable |
---|
security |
Fields inherited from class org.biomage.Common.Extendable |
---|
editable, id, securedElementId |
Constructor Summary | |
---|---|
Audit()
Default constructor. |
|
Audit(org.xml.sax.Attributes atts)
Attribute constructor. |
Method Summary | |
---|---|
boolean |
emptyMAGEobject()
|
Audit.Action |
getAction()
Get method for action |
java.util.Date |
getDate()
Get method for date |
java.lang.String |
getModelClassName()
|
java.lang.String |
getNameAction()
Return the current name of the Enumeration type of Action. |
java.lang.String |
getNameByValueAction(int val)
For Action get the Name of the Enumeration type by passing a Value to it. |
Contact |
getPerformer()
Get method for performer |
int |
getValueAction()
Return the currrent value of the Enumeration type of Action. |
int |
getValueByNameAction(java.lang.String name)
For Action get the Value of the Enumeration type by passing a Name to it. |
void |
setAction(Audit.Action action)
Set method for action |
void |
setDate(java.util.Date date)
Set method for date |
java.lang.String |
setNameByValueAction(int val)
For Action set the Name of the Enumeration type by passing a value (int) |
void |
setPerformer(Contact performer)
Set method for performer |
int |
setValueByNameAction(java.lang.String name)
For Action set the Value of the Enumeration type by passing a Name to it. |
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.Describable |
---|
addToAuditTrail, addToAuditTrail, addToDescriptions, addToDescriptions, getAuditTrail, getDescriptions, getFromAuditTrail, getFromDescriptions, getSecurity, removeElementAtFromAuditTrail, removeElementAtFromDescriptions, removeFromAuditTrail, removeFromDescriptions, setAttributes, 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, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Contact performer
Constructor Detail |
---|
public Audit()
public Audit(org.xml.sax.Attributes atts)
atts:
- the attribute list.Method Detail |
---|
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
writeMAGEML
in class Describable
java.io.IOException
public boolean emptyMAGEobject()
public void writeAttributes(java.io.Writer out) throws java.io.IOException
writeAttributes
in class Describable
java.io.IOException
public void writeAssociations(java.io.Writer out) throws java.io.IOException
writeAssociations
in class Describable
java.io.IOException
public void setDate(java.util.Date date)
value
- to setpublic java.util.Date getDate()
public void setAction(Audit.Action action)
value
- to setpublic Audit.Action getAction()
public java.lang.String setNameByValueAction(int val)
int
- value The value to be mapped to the namepublic int setValueByNameAction(java.lang.String name)
String
- name The name to be mapped to a valuepublic java.lang.String getNameByValueAction(int val)
int
- val The value for which the Mapped String will be returned.public int getValueByNameAction(java.lang.String name)
String
- name The name to be mapped to a value.public java.lang.String getNameAction()
public int getValueAction()
public java.lang.String getModelClassName()
getModelClassName
in class Describable
public void setPerformer(Contact performer)
setPerformer
in interface HasPerformer
value
- to setpublic Contact getPerformer()
getPerformer
in interface HasPerformer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |