gov.nih.nci.caarray.services.fileparse2.hybridization
Class SimpleDesignElement
java.lang.Object
org.apache.commons.beanutils.WrapDynaBean
gov.nih.nci.caarray.services.fileparse2.parsers.LocalDynaBeanWrapper
gov.nih.nci.caarray.services.fileparse2.hybridization.SimpleDesignElement
- All Implemented Interfaces:
- LocalDynaBean, org.apache.commons.beanutils.DynaBean
public class SimpleDesignElement
- extends LocalDynaBeanWrapper
A wrapper to wrap a simplified DesignElement represented by a BasicDynaBean
instance to allow for making a unique key by combining the values of the
non-key properties specified when constructing an instance of this class.
- Author:
- TranP
Fields inherited from class org.apache.commons.beanutils.WrapDynaBean |
dynaClass, instance |
Constructor Summary |
SimpleDesignElement(java.lang.Object instance,
java.lang.String keyProperty,
java.lang.String[] nonKeyProperties)
|
Method Summary |
java.lang.String |
getUniqueKey()
Returns the unique key representing this DesignElement from the
keyProperty attribute. |
java.lang.String |
getUniqueKeyFromNonKeyProperties()
Creates a unique key to represent this DesignElement using the properties
other than the attribute Id. |
Methods inherited from class org.apache.commons.beanutils.WrapDynaBean |
contains, get, get, getDynaClass, getDynaProperty, remove, set, set, set |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.beanutils.DynaBean |
contains, get, get, getDynaClass, remove, set, set, set |
VALUE_DELIMITER
public static final java.lang.String VALUE_DELIMITER
- See Also:
- Constant Field Values
SimpleDesignElement
public SimpleDesignElement(java.lang.Object instance,
java.lang.String keyProperty,
java.lang.String[] nonKeyProperties)
getUniqueKeyFromNonKeyProperties
public java.lang.String getUniqueKeyFromNonKeyProperties()
- Creates a unique key to represent this DesignElement using the properties
other than the attribute Id. The property values are delimited by "-".
- Returns:
getUniqueKey
public java.lang.String getUniqueKey()
- Returns the unique key representing this DesignElement from the
keyProperty
attribute. This key is assigned by database.
- Returns: