Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdbf.engine.mapping
Class ItemDescriptor  view ItemDescriptor download ItemDescriptor.java

java.lang.Object
  extended byorg.jdbf.engine.mapping.ObjectDescriptor
      extended byorg.jdbf.engine.mapping.ItemDescriptor

public class ItemDescriptor
extends ObjectDescriptor

ItemDescriptor represents the objects descritors for objects "item" that are specified in the repository.


Field Summary
private  java.lang.String columnTableName
          name of column on the table
private  java.lang.String dataType
          data type
private  boolean isPrimaryKey
          unique key on table
private  java.lang.String propertyName
          property name of object
 
Fields inherited from class org.jdbf.engine.mapping.ObjectDescriptor
className, classOwn, repositoryViewName, tableName
 
Constructor Summary
ItemDescriptor()
          Constructs the object
 
Method Summary
 java.lang.String getColumnTableName()
          Returns name of column on the table
 java.lang.String getDataType()
          Returns data type
 java.lang.String getPropertyName()
          Returns name of property of the Java object
 boolean isPrimaryKey()
          Specifies if itemDescriptor is unique key
 void setColumnTableName(java.lang.String columnTableName)
          Sets name of column on the table specified in columnTableName
 void setDataType(java.lang.String dataType)
          Sets data type specified in dataType
 void setIsPrimaryKey(boolean isPrimaryKey)
          Sets if itemDescriptor is unique key
 void setPropertyName(java.lang.String propertyName)
          Sets name of property name of Java object specified in propertyName
 java.lang.String toString()
          Return the object as String
 
Methods inherited from class org.jdbf.engine.mapping.ObjectDescriptor
getClassName, getClassOwn, getRepositoryViewName, getTableName, setClassName, setRepositoryViewName, setTableName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

columnTableName

private java.lang.String columnTableName
name of column on the table


dataType

private java.lang.String dataType
data type


propertyName

private java.lang.String propertyName
property name of object


isPrimaryKey

private boolean isPrimaryKey
unique key on table

Constructor Detail

ItemDescriptor

public ItemDescriptor()
Constructs the object

Method Detail

getColumnTableName

public java.lang.String getColumnTableName()
Returns name of column on the table


getDataType

public java.lang.String getDataType()
Returns data type


getPropertyName

public java.lang.String getPropertyName()
Returns name of property of the Java object


isPrimaryKey

public boolean isPrimaryKey()
Specifies if itemDescriptor is unique key


setColumnTableName

public void setColumnTableName(java.lang.String columnTableName)
Sets name of column on the table specified in columnTableName


setDataType

public void setDataType(java.lang.String dataType)
Sets data type specified in dataType


setIsPrimaryKey

public void setIsPrimaryKey(boolean isPrimaryKey)
Sets if itemDescriptor is unique key


setPropertyName

public void setPropertyName(java.lang.String propertyName)
Sets name of property name of Java object specified in propertyName


toString

public java.lang.String toString()
Return the object as String