com.vinculumtech.carrierwave.datamodel
Class Column
java.lang.Object
com.vinculumtech.carrierwave.datamodel.Model
com.vinculumtech.carrierwave.datamodel.Column
- public class Column
- extends com.vinculumtech.carrierwave.datamodel.Model
A Column is simply a collection of all the child values, referenced by a common edge, or columnName.
If the columnName references a List or Map, they are collapsed. Thus, if a columnName references
a List of String objects, the Column instance will return a collection of Strings, not a collection of List
instances holding String objects.
- Version:
- $Id: //depot/carrierwave/src/shared/com/vinculumtech/carrierwave/datamodel/Column.java#4 $
- See Also:
DataModel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getColumnName
public java.lang.String getColumnName()
getValues
public java.util.Collection getValues(java.util.Collection results)
becomeModel
public DataModel becomeModel(java.lang.Class commonType)
getParentModel
public com.vinculumtech.carrierwave.datamodel.Model getParentModel()
hasParentModel
public boolean hasParentModel()
getCommonType
public java.lang.Class getCommonType()
getValues
public java.util.Collection getValues()
hasColumnName
public boolean hasColumnName(java.lang.String columnName)
Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.