com.ca.commons.datamodel.concurrent
Class ConcurrentDataModel

java.lang.Object
  extended by com.ca.commons.datamodel.concurrent.ConcurrentDataModel
All Implemented Interfaces:
DataModel, Cloneable

public final class ConcurrentDataModel
extends Object
implements DataModel, Cloneable


Method Summary
protected  ConcurrentDataModel clone()
           
 ConcurrentModelClass 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.
 com.ca.commons.datamodel.concurrent.ConcurrentEnumDef getDataModelEnumDef(String absName)
           
 DataModelItem getDataModelItem(String absName)
           
 DataModelNamespace getDataModelNamespace()
          Return first (and only) namespace, which must exist.
 ConcurrentNamespace getDataModelNamespace(String name)
           
 Collection<? extends DataModelNamespace> getDataModelNamespaces()
           
 com.ca.commons.datamodel.concurrent.ConcurrentProperty getDataModelProperty(String absName)
           
 ConcurrentModelClass getMetadataClass(String absName)
           
 com.ca.commons.datamodel.concurrent.ConcurrentProperty getMetadataProperty(String absName)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clone

@NotNull
protected ConcurrentDataModel clone()
Overrides:
clone in class Object

getDataModelNamespaces

@NotNull
public Collection<? extends DataModelNamespace> getDataModelNamespaces()
Specified by:
getDataModelNamespaces in interface DataModel

getDataModelNamespace

@Nullable
public DataModelNamespace getDataModelNamespace()
Description copied from interface: DataModel
Return first (and only) namespace, which must exist.

Specified by:
getDataModelNamespace in interface DataModel

getDataModelNamespace

@Nullable
public ConcurrentNamespace getDataModelNamespace(@NotNull
                                                          String name)
                                          throws DataModelException
Specified by:
getDataModelNamespace in interface DataModel
Throws:
DataModelException

getDataModelEnumDef

@Nullable
public com.ca.commons.datamodel.concurrent.ConcurrentEnumDef getDataModelEnumDef(@NotNull
                                                                                          String absName)
                                                                          throws DataModelException
Specified by:
getDataModelEnumDef in interface DataModel
Throws:
DataModelException

getMetadataClass

@Nullable
public ConcurrentModelClass getMetadataClass(@NotNull
                                                      String absName)
                                      throws DataModelException
Specified by:
getMetadataClass in interface DataModel
Throws:
DataModelException

getDataModelClass

@Nullable
public ConcurrentModelClass getDataModelClass(@NotNull
                                                       String absName)
                                       throws DataModelException
Description copied from interface: DataModel
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.

Specified by:
getDataModelClass in interface DataModel
Throws:
DataModelException

getDataModelProperty

@Nullable
public com.ca.commons.datamodel.concurrent.ConcurrentProperty getDataModelProperty(@NotNull
                                                                                            String absName)
                                                                            throws DataModelException
Specified by:
getDataModelProperty in interface DataModel
Throws:
DataModelException

getMetadataProperty

@Nullable
public com.ca.commons.datamodel.concurrent.ConcurrentProperty getMetadataProperty(@NotNull
                                                                                           String absName)
                                                                           throws DataModelException
Specified by:
getMetadataProperty in interface DataModel
Throws:
DataModelException

getDataModelItem

@Nullable
public DataModelItem getDataModelItem(@NotNull
                                               String absName)
Specified by:
getDataModelItem in interface DataModel


Created 2011-07-14 13:27 EST