thinkui.db
Interface DataClass
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- thinkui.db.AbstractDataClass
- public interface DataClass
- extends java.io.Serializable
Defines a mutable interface for providing meta data about a database table.
CLASS_TYPE
public static final java.lang.String CLASS_TYPE
- See Also:
- Constant Field Values
CMD_TYPE
public static final java.lang.String CMD_TYPE
- See Also:
- Constant Field Values
EMPTY
public static final DataClass EMPTY
- The empty data class to be used by data objects that have no attributes.
FUNC_TYPE
public static final java.lang.String FUNC_TYPE
- See Also:
- Constant Field Values
METHOD_TYPE
public static final java.lang.String METHOD_TYPE
- See Also:
- Constant Field Values
PROC_TYPE
public static final java.lang.String PROC_TYPE
- See Also:
- Constant Field Values
QUERY_TYPE
public static final java.lang.String QUERY_TYPE
- See Also:
- Constant Field Values
TABLE_TYPE
public static final java.lang.String TABLE_TYPE
- See Also:
- Constant Field Values
VIEW_TYPE
public static final java.lang.String VIEW_TYPE
- See Also:
- Constant Field Values
addAttribute
public void addAttribute(Attribute attr)
addRelationship
public void addRelationship(Relationship relationship)
equals
public boolean equals(java.lang.Object object)
getAttribute
public Attribute getAttribute(java.lang.String attrName)
getAttributes
public java.util.List getAttributes()
getCaptionAttrNames
public java.lang.String[] getCaptionAttrNames()
getDataObjectFactory
public thinkui.db.DataObjectFactory getDataObjectFactory()
getDescription
public java.lang.String getDescription()
getFullTableName
public java.lang.String getFullTableName()
getName
public java.lang.String getName()
getPrimaryKeyAttrNames
public java.lang.String[] getPrimaryKeyAttrNames()
getRelationship
public Relationship getRelationship(java.lang.String relationshipName)
getRelationships
public java.util.List getRelationships()
getSchemaName
public java.lang.String getSchemaName()
getTableName
public java.lang.String getTableName()
getType
public java.lang.String getType()
hashCode
public int hashCode()
hasPrimaryKey
public boolean hasPrimaryKey()
isAttribute
public boolean isAttribute(java.lang.String attrName)
isDeleteAllowed
public boolean isDeleteAllowed()
isInsertAllowed
public boolean isInsertAllowed()
isRelationship
public boolean isRelationship(java.lang.String relationshipName)
isSelectAllowed
public boolean isSelectAllowed()
isUpdateAllowed
public boolean isUpdateAllowed()
removeAttribute
public Attribute removeAttribute(java.lang.String attrName)
removeRelationship
public Relationship removeRelationship(java.lang.String relationshipName)
setAttributes
public void setAttributes(java.util.List attributes)
setCaptionAttrNames
public void setCaptionAttrNames(java.lang.String[] attrNames)
setDescription
public void setDescription(java.lang.String description)
setName
public void setName(java.lang.String name)
setPrimaryKeyAttrNames
public void setPrimaryKeyAttrNames(java.lang.String[] attrNames)
setRelationships
public void setRelationships(java.util.List relationships)
setSchemaName
public void setSchemaName(java.lang.String schemaName)
setTableName
public void setTableName(java.lang.String tableName)
setType
public void setType(java.lang.String type)
toString
public java.lang.String toString()
Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.