|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomage.Common.Extendable
public abstract class Extendable
Abstract class that specifies for subclasses an association to NameValueTypes. These can be used, for instance, to specify proprietary properties and in-house processing hints.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biomage.Interface.HasPropertySets |
---|
HasPropertySets.PropertySets_list |
Field Summary | |
---|---|
protected boolean |
editable
|
protected long |
id
|
protected java.lang.String |
securedElementId
|
Constructor Summary | |
---|---|
Extendable()
Default constructor. |
|
Extendable(org.xml.sax.Attributes atts)
Attribute constructor. |
Method Summary | |
---|---|
void |
addToPropertySets(int position,
NameValueType nameValueType)
Method to add NameValueType at position to PropertySets_list |
void |
addToPropertySets(NameValueType nameValueType)
Method to add NameValueType to PropertySets_list |
boolean |
equals(java.lang.Object obj)
Tests if this Extendable is the same reference as the
specified object or it has the same ID. |
NameValueType |
getFromPropertySets(int position)
Method to get NameValueType from PropertySets_list |
long |
getId()
|
boolean |
getIsEditable()
|
java.lang.String |
getModelClassName()
|
HasPropertySets.PropertySets_list |
getPropertySets()
Get method for propertySets |
java.lang.String |
getSecuredElementId()
|
boolean |
isEditable()
|
void |
removeElementAtFromPropertySets(int position)
Method to remove by position from PropertySets_list |
void |
removeFromPropertySets(NameValueType nameValueType)
Method to remove first NameValueType from PropertySets_list |
void |
setAttributes(org.xml.sax.Attributes atts)
|
void |
setId(long id)
|
void |
setIsEditable(boolean editable)
|
void |
setPropertySets(HasPropertySets.PropertySets_list propertySets)
Set method for propertySets |
void |
setSecuredElementId(java.lang.String id)
|
java.lang.String |
toString()
|
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 java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected long id
protected java.lang.String securedElementId
protected boolean editable
Constructor Detail |
---|
public Extendable()
public Extendable(org.xml.sax.Attributes atts)
atts:
- the attribute list.Method Detail |
---|
public void setAttributes(org.xml.sax.Attributes atts)
public void writeMAGEML(java.io.Writer out) throws java.io.IOException
java.io.IOException
public void writeAttributes(java.io.Writer out) throws java.io.IOException
java.io.IOException
public void writeAssociations(java.io.Writer out) throws java.io.IOException
java.io.IOException
public java.lang.String getModelClassName()
public void setPropertySets(HasPropertySets.PropertySets_list propertySets)
setPropertySets
in interface HasPropertySets
value
- to setpublic HasPropertySets.PropertySets_list getPropertySets()
getPropertySets
in interface HasPropertySets
public void addToPropertySets(NameValueType nameValueType)
addToPropertySets
in interface HasPropertySets
public void addToPropertySets(int position, NameValueType nameValueType)
addToPropertySets
in interface HasPropertySets
public NameValueType getFromPropertySets(int position)
getFromPropertySets
in interface HasPropertySets
public void removeElementAtFromPropertySets(int position)
removeElementAtFromPropertySets
in interface HasPropertySets
public void removeFromPropertySets(NameValueType nameValueType)
removeFromPropertySets
in interface HasPropertySets
public long getId()
public void setId(long id)
public java.lang.String getSecuredElementId()
getSecuredElementId
in interface SecuredElementItf
public void setSecuredElementId(java.lang.String id)
setSecuredElementId
in interface SecuredElementItf
public boolean isEditable()
isEditable
in interface SecuredElementItf
public boolean getIsEditable()
getIsEditable
in interface SecuredElementItf
public void setIsEditable(boolean editable)
setIsEditable
in interface SecuredElementItf
public boolean equals(java.lang.Object obj)
Extendable
is the same reference as the
specified object or it has the same ID.
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |