org.eclipse.ohf.stem.internal.data
Class DataSetRecord

java.lang.Object
  extended by org.eclipse.ohf.stem.internal.data.IdentifiableRecord
      extended by org.eclipse.ohf.stem.internal.data.DataSetRecord
All Implemented Interfaces:
java.lang.Comparable<IdentifiableRecord>
Direct Known Subclasses:
ComposedDatasetRecord, DecoratorRecord, GraphRecord, SequencerRecord

public abstract class DataSetRecord
extends IdentifiableRecord

This class is an IdentifiableRecord that is defined by a data set defined in a properties file.


Nested Class Summary
static class DataSetRecord.DataSetData
          This class represents data extracted from a properties file.
 
Nested classes/interfaces inherited from class org.eclipse.ohf.stem.internal.data.IdentifiableRecord
IdentifiableRecord.AdminLevel
 
Field Summary
static java.lang.String RECORD_CLASSNAME_PROPERTY
          This is the name of the property in the dataSet that contains the name of the GraphRecord sub-class.
 
Fields inherited from class org.eclipse.ohf.stem.internal.data.IdentifiableRecord
BIBLIOGRAPHIC_CITATION_PROPERTY, CONTRIBUTOR_PROPERTY, COVERAGE_PROPERTY, CREATED_PROPERTY, CREATOR_PROPERTY, DATE_PROPERTY, DESCRIPTION_PROPERTY, FORMAT_PROPERTY, identifiableURIPrefix, IDENTIFIER_PROPERTY, LANGUAGE_PROPERTY, LICENSE_PROPERTY, PUBLISHER_PROPERTY, RELATION_PROPERTY, REQUIRED_PROPERTY, RIGHTS_PROPERTY, SERIALIZATION_DATE_RANGE_FORMAT_1_DATE, SERIALIZATION_DATE_RANGE_FORMAT_1_DATE_YEAR, SERIALIZATION_DATE_RANGE_FORMAT_2_DATES, SOURCE_PROPERTY, SPATIAL_PROPERTY, SUBJECT_PROPERTY, TITLE_PROPERTY, TYPE_PROPERTY, VALID_PROPERTY
 
Constructor Summary
DataSetRecord()
           
 
Method Summary
 int getNumEdges()
           
 int getNumLabels()
           
 int getNumModelDecorators()
           
 int getNumNodes()
           
 int getNumScenarioDecorators()
           
 void initializeDataSet(java.util.Properties dataSetProperties)
           
 
Methods inherited from class org.eclipse.ohf.stem.internal.data.IdentifiableRecord
addAdminLevel, addAdminLevel, addAdminLevels, compareTo, getAdminLevels, getAdminLevelsAsString, getAdminLevelsMaxToMin, getDublinCore, getEndDate, getIdentifiable, getMaxAdminLevel, getMinAdminLevel, getNumAdminLevels, getStartDate, inDateRange, isYounger, serialize, serializeIdentifiable, setDublinCore, setEndDate, setIdentifiable, setStartDate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RECORD_CLASSNAME_PROPERTY

public static final java.lang.String RECORD_CLASSNAME_PROPERTY
This is the name of the property in the dataSet that contains the name of the GraphRecord sub-class. That will process the rest of the properties in the data set. It is used by DataSetRecordFactory to create the correct DataSetRecord instance.

See Also:
Constant Field Values
Constructor Detail

DataSetRecord

public DataSetRecord()
Method Detail

initializeDataSet

public void initializeDataSet(java.util.Properties dataSetProperties)
Parameters:
dataSetProperties - the set of properties that define a Graph.

getNumEdges

public int getNumEdges()
Specified by:
getNumEdges in class IdentifiableRecord
Returns:
the number of Edges in the Identifiable
See Also:
IdentifiableRecord.getNumEdges()

getNumLabels

public int getNumLabels()
Specified by:
getNumLabels in class IdentifiableRecord
Returns:
the number of Labels in the Identifiable
See Also:
IdentifiableRecord.getNumLabels()

getNumNodes

public int getNumNodes()
Specified by:
getNumNodes in class IdentifiableRecord
Returns:
the number of Nodes in the Identifiable
See Also:
IdentifiableRecord.getNumNodes()

getNumModelDecorators

public int getNumModelDecorators()
Specified by:
getNumModelDecorators in class IdentifiableRecord
Returns:
the number of model Decorators in the Identifiable
See Also:
IdentifiableRecord.getNumModelDecorators()

getNumScenarioDecorators

public int getNumScenarioDecorators()
Specified by:
getNumScenarioDecorators in class IdentifiableRecord
Returns:
the number of scenario Decorators in the Identifiable
See Also:
IdentifiableRecord.getNumScenarioDecorators()