pl.edu.agh.cast.data.model
Interface Identifiable

All Superinterfaces:
Serializable
All Known Subinterfaces:
IDataSet<T>, IDomainDataSet<T>, IDomainElement, IElement, IEntity, IGeneralDataSet<T>, IGeneralElement, IManyToManyRelation, IOneToOneRelation, IPresentationDataSet<T>, IPresentationElement<T>, ISchemaConnection, ISchemaDataSet, ISchemaElement<T>, ISchemaNode, ITimedManyToManyRelation, ITimedOneToOneRelation, IVisualDataSet<T,M>, IVisualElement<M>, IVisualSchemaConnection, IVisualSchemaDataSet, IVisualSchemaElement<T>, IVisualSchemaNode
All Known Implementing Classes:
AbstractDataSet, AbstractElement, DataSetDescriptor, DomainDataSet, DomainDataSetDescriptor, Entity, GeneralDataSet, ManyToManyRelation, OneToOneRelation, PresentationDataSet, PresentationDataSetDescriptor, PresentationElement, SampleGeneralDataSet, SchemaConnection, SchemaDataSet, SchemaNode, TimedManyToManyRelation, TimedOneToOneRelation, VisualDataSet, VisualDataSetDescriptor, VisualElement, VisualSchemaConnection, VisualSchemaDataSet, VisualSchemaNode

public interface Identifiable
extends Serializable

Interface of identifiable objects, which have a globally unique ID and type.

Author:
AGH CAST Team

Nested Class Summary
static class Identifiable.Properties
          Enumeration of property name constants.
 
Method Summary
 UUID getId()
          Returns object's globally unique ID.
 Type getType()
          Returns object's type.
 

Method Detail

getId

@PropertyGetter(name="ID",
                type=ID,
                matchable=false)
UUID getId()
Returns object's globally unique ID.

Returns:
globally unique ID

getType

@PropertyGetter(name="TYPE",
                type=TYPE,
                matchable=true)
Type getType()
Returns object's type.

Returns:
type


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