org.apache.cayenne.dataview
Class DataView
java.lang.Object
org.apache.cayenne.dataview.DataView
public class DataView
- extends Object
A root of the view configuration hierarchy. Contains a number of ObjEntityViews.
- Since:
- 1.1
- Author:
- Andriy Shapochka
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataView
public DataView()
getEntityResolver
public EntityResolver getEntityResolver()
setEntityResolver
public void setEntityResolver(EntityResolver entityResolver)
load
public void load(File[] xmlSources)
throws IOException
- Throws:
IOException
load
public void load(URL[] xmlSources)
throws IOException
- Throws:
IOException
load
public void load(Reader[] xmlSources)
throws IOException
- Throws:
IOException
load
public void load(InputStream[] xmlSources)
throws IOException
- Throws:
IOException
getObjEntityViewNames
public Set getObjEntityViewNames()
getObjEntityViews
public Collection getObjEntityViews()
getObjEntityView
public ObjEntityView getObjEntityView(String viewName)
getLookupCache
public LookupCache getLookupCache()
setLookupCache
public void setLookupCache(LookupCache lookupCache)
getLookupObjEntityViewFields
public Set getLookupObjEntityViewFields()
getLocale
public Locale getLocale()
setLocale
public void setLocale(Locale locale)
getDataTypeSpec
public DataTypeSpec getDataTypeSpec()
setDataTypeSpec
public void setDataTypeSpec(DataTypeSpec dataTypeSpec)
getFormatFactory
public FormatFactory getFormatFactory()
setFormatFactory
public void setFormatFactory(FormatFactory formatFactory)
addFieldValueChangeListener
public void addFieldValueChangeListener(FieldValueChangeListener listener)
removeFieldValueChangeListener
public void removeFieldValueChangeListener(FieldValueChangeListener listener)
clearFieldValueChangeListeners
public void clearFieldValueChangeListeners()
fireFieldValueChangeEvent
public void fireFieldValueChangeEvent(ObjEntityViewField source,
DataObject modifiedObject,
Object oldValue,
Object newValue)
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.