|
||||||||||
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.SecurityGroup
public class SecurityGroup
Groups contacts together based on their security privileges.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biomage.Interface.HasMembers |
---|
HasMembers.Members_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 |
members
The members of the Security Group. |
Fields inherited from class org.biomage.Common.Describable |
---|
security |
Fields inherited from class org.biomage.Common.Extendable |
---|
editable, id, securedElementId |
Constructor Summary | |
---|---|
SecurityGroup()
Default constructor. |
|
SecurityGroup(org.xml.sax.Attributes atts)
Attribute constructor. |
Method Summary | |
---|---|
void |
addToMembers(Contact contact)
Method to add Contact to Members_list |
void |
addToMembers(int position,
Contact contact)
Method to add Contact at position to Members_list |
boolean |
emptyMAGEobject()
|
Contact |
getFromMembers(int position)
Method to get Contact from Members_list |
HasMembers.Members_list |
getMembers()
Get method for members |
java.lang.String |
getModelClassName()
|
void |
removeElementAtFromMembers(int position)
Method to remove by position from Members_list |
void |
removeFromMembers(Contact contact)
Method to remove first Contact from Members_list |
void |
setAttributes(org.xml.sax.Attributes atts)
|
void |
setMembers(HasMembers.Members_list members)
Set method for members |
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 members
Constructor Detail |
---|
public SecurityGroup()
public SecurityGroup(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 boolean emptyMAGEobject()
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 java.lang.String getModelClassName()
getModelClassName
in class Identifiable
public void setMembers(HasMembers.Members_list members)
setMembers
in interface HasMembers
value
- to setpublic HasMembers.Members_list getMembers()
getMembers
in interface HasMembers
public void addToMembers(Contact contact)
addToMembers
in interface HasMembers
public void addToMembers(int position, Contact contact)
addToMembers
in interface HasMembers
public Contact getFromMembers(int position)
getFromMembers
in interface HasMembers
public void removeElementAtFromMembers(int position)
removeElementAtFromMembers
in interface HasMembers
public void removeFromMembers(Contact contact)
removeFromMembers
in interface HasMembers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |