class DataElement extends BaseDimensionalItemObject implements MetadataObject, ValueTypedDimensionalItemObject {

    public boolean periodTypeIsValid()
    {
        PeriodType periodType = null;

        for ( DataSet dataSet : getDataSets() )
        {
            if ( periodType != null && !periodType.equals( dataSet.getPeriodType() ) )
            {
                return false;
            }

            periodType = dataSet.getPeriodType();
        }

        return true;
    }

    public  DataElement();
    public  DataElement( String name );

}