net.sf.webmancer.db
Interface IAttribute

All Superinterfaces:
IBackEndAttributeInformation, IFrontEndAttributeInformation
All Known Implementing Classes:
AbstractAttribute, DecimalAttribute, RegexAttribute, StringAttribute

public interface IAttribute
extends IFrontEndAttributeInformation, IBackEndAttributeInformation

Author:
Michal Burda

Method Summary
 java.lang.String getId()
          Gets the identification string of the attribute (must be unique in DataSet).
 java.lang.String getId()
          Gets the identification string of the attribute (must be unique in DataSet).
 IDataSet getParentDataSet()
          Gets IDataSet the attribute belongs to.
 IDataSet getParentDataSet()
          Gets IDataSet the attribute belongs to.
 boolean isPrimaryKey()
          Returns true if the attribute is a primary key of parent dataset.
 boolean isPrimaryKey()
          Returns true if the attribute is a primary key of parent dataset.
 
Methods inherited from interface net.sf.webmancer.db.IFrontEndAttributeInformation
convertInternalToInput, convertInternalToOutput, getDescription, getInitialValue, getMaximumInputLength, getName, isMandatory, preProcessConditionInput, preProcessInput, validateInput
 
Methods inherited from interface net.sf.webmancer.db.IBackEndAttributeInformation
convertDbToInternal, isDerived, isInDatabase
 

Method Detail

getId

java.lang.String getId()
Gets the identification string of the attribute (must be unique in DataSet).

Returns:
The identification string of the attribute

getParentDataSet

IDataSet getParentDataSet()
Gets IDataSet the attribute belongs to.

Returns:
The IDataSet the attribute belongs to.

isPrimaryKey

boolean isPrimaryKey()
Returns true if the attribute is a primary key of parent dataset.

Returns:
true if the attribute is a primary key of parent dataset.

getId

java.lang.String getId()
Gets the identification string of the attribute (must be unique in DataSet).

Returns:
The identification string of the attribute

getParentDataSet

IDataSet getParentDataSet()
Gets IDataSet the attribute belongs to.

Returns:
The IDataSet the attribute belongs to.

isPrimaryKey

boolean isPrimaryKey()
Returns true if the attribute is a primary key of parent dataset.

Returns:
true if the attribute is a primary key of parent dataset.


Copyright © 2006-2007. All Rights Reserved.