com.ca.commons.datamodel
Interface DataModel

All Known Implementing Classes:
ConcurrentDataModel

public interface DataModel


Method Summary
 DataModelClass getDataModelClass(String absName)
          Returns class found via lookup - if absName doesn't contain a '.' then it is looked up in the first namespace within this model, otherwise it is looked up as a fully qualified name.
 DataModelEnumDef getDataModelEnumDef(String absName)
           
 DataModelItem getDataModelItem(String absName)
           
 DataModelNamespace getDataModelNamespace()
          Return first (and only) namespace, which must exist.
 DataModelNamespace getDataModelNamespace(String name)
           
 Collection<? extends DataModelNamespace> getDataModelNamespaces()
           
 DataModelProperty getDataModelProperty(String absName)
           
 DataModelClass getMetadataClass(String absName)
           
 DataModelProperty getMetadataProperty(String absName)
           
 

Method Detail

getDataModelNamespaces

@NotNull
Collection<? extends DataModelNamespace> getDataModelNamespaces()

getDataModelNamespace

@Nullable
DataModelNamespace getDataModelNamespace()
Return first (and only) namespace, which must exist.


getDataModelNamespace

@Nullable
DataModelNamespace getDataModelNamespace(@NotNull
                                                  String name)
                                         throws DataModelException
Throws:
DataModelException

getDataModelEnumDef

@Nullable
DataModelEnumDef getDataModelEnumDef(@NotNull
                                              String absName)
                                     throws DataModelException
Throws:
DataModelException

getMetadataClass

@Nullable
DataModelClass getMetadataClass(@NotNull
                                         String absName)
                                throws DataModelException
Throws:
DataModelException

getDataModelClass

@Nullable
DataModelClass getDataModelClass(@NotNull
                                          String absName)
                                 throws DataModelException
Returns class found via lookup - if absName doesn't contain a '.' then it is looked up in the first namespace within this model, otherwise it is looked up as a fully qualified name.

Throws:
DataModelException

getDataModelProperty

@Nullable
DataModelProperty getDataModelProperty(@NotNull
                                                String absName)
                                       throws DataModelException
Throws:
DataModelException

getMetadataProperty

@Nullable
DataModelProperty getMetadataProperty(@NotNull
                                               String absName)
                                      throws DataModelException
Throws:
DataModelException

getDataModelItem

@Nullable
DataModelItem getDataModelItem(@NotNull
                                        String absName)


Created 2011-07-14 13:27 EST