pl.edu.agh.cast.data.model.domain
Interface IDomainDataSet<T extends IDomainElement>

Type Parameters:
T - type of domain elements contained in the data set
All Superinterfaces:
IDataSet<T>, Identifiable, IDisposable, IPropertyContainer, IValidatable, Observer, Serializable
All Known Subinterfaces:
IGeneralDataSet<T>
All Known Implementing Classes:
DomainDataSet, GeneralDataSet, SampleGeneralDataSet

public interface IDomainDataSet<T extends IDomainElement>
extends IDataSet<T>

Interface of domain specific data set.

Author:
AGH CAST Team
See Also:
IDomainElement

Nested Class Summary
 
Nested classes/interfaces inherited from interface pl.edu.agh.cast.data.model.IDataSet
IDataSet.Properties
 
Field Summary
static Collection<Type> ACCEPTED_TYPES
          Collection of element types accepted by this type of data set.
static Type TYPE
          The type of IDomainDataSet.
 
Method Summary
 DomainDataSetDescriptor getDescriptor()
          Returns the descriptor of this data set.
 Date getSourceDate()
          Returns the date of source acquisition.
 String getSourceDescription()
          Returns the description of the data set source.
 String getSourceName()
          Returns the name of the data set source.
 void setSourceDate(Date sourceDate)
          Sets the date of source acquisition.
 void setSourceDescription(String sourceDescription)
          Sets the description of the data set source.
 void setSourceName(String sourceName)
          Sets the name of the data set source.
 
Methods inherited from interface pl.edu.agh.cast.data.model.IDataSet
addElement, addElements, addElements, addMetaPropertyManager, addMetaPropertyManagersForAcceptedTypes, getAcceptedTypes, getAssignableElements, getCreationDate, getElement, getElementCount, getElements, getElements, getElementTypes, getMetaPropertyManager, getMetaPropertyManagers, getName, getRegisteredTypes, removeElement, removeElement, removeElements, removeElements, setCreationDate, setElements, setName
 
Methods inherited from interface pl.edu.agh.cast.data.model.Identifiable
getId, getType
 
Methods inherited from interface pl.edu.agh.cast.data.model.property.IPropertyContainer
addProperty, getCustomProperties, getMetaPropertyManager, getPermanentProperties, getProperties, getProperty, getTransientProperties, matches, removeProperty, setProperty
 
Methods inherited from interface java.util.Observer
update
 
Methods inherited from interface pl.edu.agh.cast.common.IValidatable
isValid
 
Methods inherited from interface pl.edu.agh.cast.common.IDisposable
dispose
 

Field Detail

TYPE

static final Type TYPE
The type of IDomainDataSet.


ACCEPTED_TYPES

static final Collection<Type> ACCEPTED_TYPES
Collection of element types accepted by this type of data set.

Method Detail

getDescriptor

DomainDataSetDescriptor getDescriptor()
Returns the descriptor of this data set.

Specified by:
getDescriptor in interface IDataSet<T extends IDomainElement>
Returns:
the descriptor of this data set
See Also:
IDataSet.getDescriptor()

getSourceName

@PropertyGetter(name="SOURCE_NAME",
                type=TEXT,
                matchable=false)
String getSourceName()
Returns the name of the data set source.

Returns:
the name of the data set source

setSourceName

@PropertySetter(name="SOURCE_NAME")
void setSourceName(String sourceName)
Sets the name of the data set source.

Parameters:
sourceName - the name of the data set source

getSourceDescription

@PropertyGetter(name="SOURCE_DESCRIPTION",
                type=TEXT,
                matchable=false)
String getSourceDescription()
Returns the description of the data set source.

Returns:
the description of the data set source

setSourceDescription

@PropertySetter(name="SOURCE_DESCRIPTION")
void setSourceDescription(String sourceDescription)
Sets the description of the data set source.

Parameters:
sourceDescription - the description of the data set source

getSourceDate

@PropertyGetter(name="SOURCE_DATE",
                type=DATE,
                matchable=false)
Date getSourceDate()
Returns the date of source acquisition.

Returns:
the date of source acquisition

setSourceDate

@PropertySetter(name="SOURCE_DATE")
void setSourceDate(Date sourceDate)
Sets the date of source acquisition.

Parameters:
sourceDate - the date of source acquisition


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.