org.kuali.student.common.ui.client.mvc
Class DataModelDefinition

java.lang.Object
  extended by org.kuali.student.common.ui.client.mvc.DataModelDefinition
All Implemented Interfaces:
Serializable, ModelDefinition

public class DataModelDefinition
extends Object
implements ModelDefinition

See Also:
Serialized Form

Field Summary
private  Metadata metadata
           
private static long serialVersionUID
           
 
Constructor Summary
DataModelDefinition()
           
DataModelDefinition(Metadata metadata)
           
 
Method Summary
private  void _ensurePath(Data data, Metadata meta, Iterator<Data.Key> itr, boolean includeLeafNode)
           
 void ensurePath(Data root, QueryPath path, boolean includeLeafNode)
           
 Metadata getMetadata()
           
 Metadata getMetadata(QueryPath path)
           
 Metadata getMetadata(String path)
           
 Data.DataType getType(QueryPath path)
           
 void setMetadata(Metadata root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metadata

private Metadata metadata

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

DataModelDefinition

public DataModelDefinition()

DataModelDefinition

public DataModelDefinition(Metadata metadata)
Method Detail

ensurePath

public void ensurePath(Data root,
                       QueryPath path,
                       boolean includeLeafNode)
Specified by:
ensurePath in interface ModelDefinition

_ensurePath

private void _ensurePath(Data data,
                         Metadata meta,
                         Iterator<Data.Key> itr,
                         boolean includeLeafNode)

getType

public Data.DataType getType(QueryPath path)
Specified by:
getType in interface ModelDefinition

getMetadata

public Metadata getMetadata(QueryPath path)
Specified by:
getMetadata in interface ModelDefinition

getMetadata

public Metadata getMetadata(String path)
Specified by:
getMetadata in interface ModelDefinition

getMetadata

public Metadata getMetadata()
Specified by:
getMetadata in interface ModelDefinition

setMetadata

public void setMetadata(Metadata root)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.