|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.caleigo.core.AbstractDataSourceDescriptor
Nested Class Summary
protected static classAbstractDataSourceDescriptor.Dezerializer
protected classAbstractDataSourceDescriptor.EntityDescriptorIterator
Constructor Summary
protected AbstractDataSourceDescriptor(java.lang.String codeName,
java.lang.String sourceName,
java.lang.String displayName,
java.lang.String version,
boolean readOnly,
java.lang.Object[] entityList)
Method Summary
booleancontains(IEntityDescriptor entityDescriptor)
protected static IFieldDescriptorcreateFieldDescriptor(java.lang.String codeName,
java.lang.String sourceName,
java.lang.String displayName,
DataType dataType,
int length,
int flags,
java.lang.Object defValue)
This help method makes possible for sub classes in other packages to
create field descriptor.
java.lang.StringgetCodeName()
IDataServicegetDefaultDataService()
IDataSourcegetDefaultDataSource()
java.lang.StringgetDisplayName()
IEntityDescriptorgetEntityDescriptor(int index)
IEntityDescriptorgetEntityDescriptor(java.lang.String codeName)
Note that this method could be expensive to call.
intgetEntityDescriptorCount()
java.util.IteratorgetEntityDescriptors()
java.lang.StringgetSourceName()
java.lang.StringgetVersion()
booleanisReadOnly()
voidsetDefaultDataSource(IDataSource dataSource)
java.lang.StringtoString()
Overriden for improved logging support with code name and version.
protected java.lang.ObjectwriteReplace()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructor Detail
AbstractDataSourceDescriptor
protected AbstractDataSourceDescriptor(java.lang.String codeName,
java.lang.String sourceName,
java.lang.String displayName,
java.lang.String version,
boolean readOnly,
java.lang.Object[] entityList)
Method Detail
toString
public java.lang.String toString()
writeReplace
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamException
getCodeName
public java.lang.String getCodeName()
getCodeName in interface IDataSourceDescriptor
getSourceName
public java.lang.String getSourceName()
getSourceName in interface IDataSourceDescriptor
getDisplayName
public java.lang.String getDisplayName()
getDisplayName in interface IDataSourceDescriptor
getVersion
public java.lang.String getVersion()
getVersion in interface IDataSourceDescriptor
isReadOnly
public boolean isReadOnly()
isReadOnly in interface IDataSourceDescriptor
getEntityDescriptorCount
public int getEntityDescriptorCount()
getEntityDescriptorCount in interface IDataSourceDescriptor
getEntityDescriptor
public IEntityDescriptor getEntityDescriptor(int index)
getEntityDescriptor in interface IDataSourceDescriptor
getEntityDescriptor
public IEntityDescriptor getEntityDescriptor(java.lang.String codeName)
getEntityDescriptor in interface IDataSourceDescriptor
getEntityDescriptors
public java.util.Iterator getEntityDescriptors()
getEntityDescriptors in interface IDataSourceDescriptor
contains
public boolean contains(IEntityDescriptor entityDescriptor)
contains in interface IDataSourceDescriptor
getDefaultDataService
public IDataService getDefaultDataService()
getDefaultDataSource
public IDataSource getDefaultDataSource()
getDefaultDataSource in interface IDataSourceDescriptor
setDefaultDataSource
public void setDefaultDataSource(IDataSource dataSource)
setDefaultDataSource in interface IDataSourceDescriptor
createFieldDescriptor
protected static IFieldDescriptor createFieldDescriptor(java.lang.String codeName,
java.lang.String sourceName,
java.lang.String displayName,
DataType dataType,
int length,
int flags,
java.lang.Object defValue)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2005 Caleigo. All Rights Reserved.