Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.biomage.DesignElement
Class Feature  view Feature download Feature.java

java.lang.Object
  extended byorg.biomage.Common.Extendable
      extended byorg.biomage.Common.Describable
          extended byorg.biomage.Common.Identifiable
              extended byorg.biomage.DesignElement.DesignElement
                  extended byorg.biomage.DesignElement.Feature
All Implemented Interfaces:
org.biomage.Interface.HasAuditTrail, org.biomage.Interface.HasControlFeatures, org.biomage.Interface.HasControlledFeatures, org.biomage.Interface.HasControlType, org.biomage.Interface.HasDescriptions, org.biomage.Interface.HasFeatureGroup, org.biomage.Interface.HasFeatureLocation, org.biomage.Interface.HasPosition, org.biomage.Interface.HasPropertySets, org.biomage.Interface.HasSecurity, org.biomage.Interface.HasZone, java.io.Serializable

public class Feature
extends DesignElement
implements java.io.Serializable, org.biomage.Interface.HasZone, org.biomage.Interface.HasFeatureGroup, org.biomage.Interface.HasPosition, org.biomage.Interface.HasControlledFeatures, org.biomage.Interface.HasControlFeatures, org.biomage.Interface.HasFeatureLocation

An intended position on an array.


Nested Class Summary
 
Nested classes inherited from class org.biomage.Interface.HasControlledFeatures
org.biomage.Interface.HasControlledFeatures.ControlledFeatures_list
 
Nested classes inherited from class org.biomage.Interface.HasControlFeatures
org.biomage.Interface.HasControlFeatures.ControlFeatures_list
 
Nested classes inherited from class org.biomage.Interface.HasAuditTrail
org.biomage.Interface.HasAuditTrail.AuditTrail_list
 
Nested classes inherited from class org.biomage.Interface.HasDescriptions
org.biomage.Interface.HasDescriptions.Descriptions_list
 
Nested classes inherited from class org.biomage.Interface.HasPropertySets
org.biomage.Interface.HasPropertySets.PropertySets_list
 
Field Summary
private  org.biomage.Interface.HasControlFeatures.ControlFeatures_list controlFeatures
          Associates features with their control features.
private  org.biomage.Interface.HasControlledFeatures.ControlledFeatures_list controlledFeatures
          Associates features with their control features.
private  org.biomage.ArrayDesign.FeatureGroup featureGroup
          The features that belong to this group.
private  FeatureLocation featureLocation
          Location of this feature relative to a grid.
private  Position position
          The position of the feature on the array, relative to the top, left corner.
private  org.biomage.ArrayDesign.Zone zone
          A reference to the zone this feature is in.
 
Fields inherited from class org.biomage.DesignElement.DesignElement
 
Fields inherited from class org.biomage.Common.Identifiable
 
Fields inherited from class org.biomage.Common.Describable
 
Fields inherited from class org.biomage.Common.Extendable
 
Constructor Summary
Feature()
          Default constructor.
Feature(org.xml.sax.Attributes atts)
          Attribute constructor.
 
Method Summary
 void addToControlFeatures(Feature feature)
          Method to add Feature to ControlFeatures_list
 void addToControlFeatures(int position, Feature feature)
          Method to add Feature at position to ControlFeatures_list
 void addToControlledFeatures(Feature feature)
          Method to add Feature to ControlledFeatures_list
 void addToControlledFeatures(int position, Feature feature)
          Method to add Feature at position to ControlledFeatures_list
 org.biomage.Interface.HasControlFeatures.ControlFeatures_list getControlFeatures()
          Get method for controlFeatures
 org.biomage.Interface.HasControlledFeatures.ControlledFeatures_list getControlledFeatures()
          Get method for controlledFeatures
 org.biomage.ArrayDesign.FeatureGroup getFeatureGroup()
          Get method for featureGroup
 FeatureLocation getFeatureLocation()
          Get method for featureLocation
 Feature getFromControlFeatures(int position)
          Method to get Feature from ControlFeatures_list
 Feature getFromControlledFeatures(int position)
          Method to get Feature from ControlledFeatures_list
 Position getPosition()
          Get method for position
 org.biomage.ArrayDesign.Zone getZone()
          Get method for zone
 void removeElementAtFromControlFeatures(int position)
          Method to remove by position from ControlFeatures_list
 void removeElementAtFromControlledFeatures(int position)
          Method to remove by position from ControlledFeatures_list
 void removeFromControlFeatures(Feature feature)
          Method to remove first Feature from ControlFeatures_list
 void removeFromControlledFeatures(Feature feature)
          Method to remove first Feature from ControlledFeatures_list
 void setControlFeatures(org.biomage.Interface.HasControlFeatures.ControlFeatures_list controlFeatures)
          Set method for controlFeatures
 void setControlledFeatures(org.biomage.Interface.HasControlledFeatures.ControlledFeatures_list controlledFeatures)
          Set method for controlledFeatures
 void setFeatureGroup(org.biomage.ArrayDesign.FeatureGroup featureGroup)
          Set method for featureGroup
 void setFeatureLocation(FeatureLocation featureLocation)
          Set method for featureLocation
 void setPosition(Position position)
          Set method for position
 void setZone(org.biomage.ArrayDesign.Zone zone)
          Set method for zone
 void writeAssociations(java.io.Writer out)
          writeAssociations
 void writeAttributes(java.io.Writer out)
          writeAttributes
 void writeMAGEML(java.io.Writer out)
          writeMAGEML
 
Methods inherited from class org.biomage.DesignElement.DesignElement
getControlType, setControlType
 
Methods inherited from class org.biomage.Common.Identifiable
getIdentifier, getName, setIdentifier, setName
 
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, getFromPropertySets, getPropertySets, removeElementAtFromPropertySets, removeFromPropertySets, setPropertySets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

zone

private org.biomage.ArrayDesign.Zone zone
A reference to the zone this feature is in.


featureGroup

private org.biomage.ArrayDesign.FeatureGroup featureGroup
The features that belong to this group.


position

private Position position
The position of the feature on the array, relative to the top, left corner.


controlledFeatures

private org.biomage.Interface.HasControlledFeatures.ControlledFeatures_list controlledFeatures
Associates features with their control features.


controlFeatures

private org.biomage.Interface.HasControlFeatures.ControlFeatures_list controlFeatures
Associates features with their control features.


featureLocation

private FeatureLocation featureLocation
Location of this feature relative to a grid.

Constructor Detail

Feature

public Feature()
Default constructor.


Feature

public Feature(org.xml.sax.Attributes atts)
Attribute constructor. Looks up the attributes in the parameter and casts them from strings appropriately

Method Detail

writeMAGEML

public void writeMAGEML(java.io.Writer out)
                 throws java.io.IOException
writeMAGEML

This method is responsible for assembling the attribute and association data into XML. It creates the object tag and then calls the writeAttributes and writeAssociation methods.

Overrides:
writeMAGEML in class DesignElement

writeAttributes

public void writeAttributes(java.io.Writer out)
                     throws java.io.IOException
writeAttributes

This method is responsible for assembling the attribute data into XML. It calls the super method to write out all attributes of this class and it's ancestors.

Overrides:
writeAttributes in class DesignElement

writeAssociations

public void writeAssociations(java.io.Writer out)
                       throws java.io.IOException
writeAssociations

This method is responsible for assembling the association data into XML. It calls the super method to write out all associations of this class's ancestors.

Overrides:
writeAssociations in class DesignElement

setZone

public void setZone(org.biomage.ArrayDesign.Zone zone)
Set method for zone

Specified by:
setZone in interface org.biomage.Interface.HasZone

getZone

public org.biomage.ArrayDesign.Zone getZone()
Get method for zone

Specified by:
getZone in interface org.biomage.Interface.HasZone

setFeatureGroup

public void setFeatureGroup(org.biomage.ArrayDesign.FeatureGroup featureGroup)
Set method for featureGroup

Specified by:
setFeatureGroup in interface org.biomage.Interface.HasFeatureGroup

getFeatureGroup

public org.biomage.ArrayDesign.FeatureGroup getFeatureGroup()
Get method for featureGroup

Specified by:
getFeatureGroup in interface org.biomage.Interface.HasFeatureGroup

setPosition

public void setPosition(Position position)
Set method for position

Specified by:
setPosition in interface org.biomage.Interface.HasPosition

getPosition

public Position getPosition()
Get method for position

Specified by:
getPosition in interface org.biomage.Interface.HasPosition

setControlledFeatures

public void setControlledFeatures(org.biomage.Interface.HasControlledFeatures.ControlledFeatures_list controlledFeatures)
Set method for controlledFeatures

Specified by:
setControlledFeatures in interface org.biomage.Interface.HasControlledFeatures

getControlledFeatures

public org.biomage.Interface.HasControlledFeatures.ControlledFeatures_list getControlledFeatures()
Get method for controlledFeatures

Specified by:
getControlledFeatures in interface org.biomage.Interface.HasControlledFeatures

addToControlledFeatures

public void addToControlledFeatures(Feature feature)
Method to add Feature to ControlledFeatures_list

Specified by:
addToControlledFeatures in interface org.biomage.Interface.HasControlledFeatures

addToControlledFeatures

public void addToControlledFeatures(int position,
                                    Feature feature)
Method to add Feature at position to ControlledFeatures_list

Specified by:
addToControlledFeatures in interface org.biomage.Interface.HasControlledFeatures

getFromControlledFeatures

public Feature getFromControlledFeatures(int position)
Method to get Feature from ControlledFeatures_list

Specified by:
getFromControlledFeatures in interface org.biomage.Interface.HasControlledFeatures

removeElementAtFromControlledFeatures

public void removeElementAtFromControlledFeatures(int position)
Method to remove by position from ControlledFeatures_list

Specified by:
removeElementAtFromControlledFeatures in interface org.biomage.Interface.HasControlledFeatures

removeFromControlledFeatures

public void removeFromControlledFeatures(Feature feature)
Method to remove first Feature from ControlledFeatures_list

Specified by:
removeFromControlledFeatures in interface org.biomage.Interface.HasControlledFeatures

setControlFeatures

public void setControlFeatures(org.biomage.Interface.HasControlFeatures.ControlFeatures_list controlFeatures)
Set method for controlFeatures

Specified by:
setControlFeatures in interface org.biomage.Interface.HasControlFeatures

getControlFeatures

public org.biomage.Interface.HasControlFeatures.ControlFeatures_list getControlFeatures()
Get method for controlFeatures

Specified by:
getControlFeatures in interface org.biomage.Interface.HasControlFeatures

addToControlFeatures

public void addToControlFeatures(Feature feature)
Method to add Feature to ControlFeatures_list

Specified by:
addToControlFeatures in interface org.biomage.Interface.HasControlFeatures

addToControlFeatures

public void addToControlFeatures(int position,
                                 Feature feature)
Method to add Feature at position to ControlFeatures_list

Specified by:
addToControlFeatures in interface org.biomage.Interface.HasControlFeatures

getFromControlFeatures

public Feature getFromControlFeatures(int position)
Method to get Feature from ControlFeatures_list

Specified by:
getFromControlFeatures in interface org.biomage.Interface.HasControlFeatures

removeElementAtFromControlFeatures

public void removeElementAtFromControlFeatures(int position)
Method to remove by position from ControlFeatures_list

Specified by:
removeElementAtFromControlFeatures in interface org.biomage.Interface.HasControlFeatures

removeFromControlFeatures

public void removeFromControlFeatures(Feature feature)
Method to remove first Feature from ControlFeatures_list

Specified by:
removeFromControlFeatures in interface org.biomage.Interface.HasControlFeatures

setFeatureLocation

public void setFeatureLocation(FeatureLocation featureLocation)
Set method for featureLocation

Specified by:
setFeatureLocation in interface org.biomage.Interface.HasFeatureLocation

getFeatureLocation

public FeatureLocation getFeatureLocation()
Get method for featureLocation

Specified by:
getFeatureLocation in interface org.biomage.Interface.HasFeatureLocation