com.bm.introspectors
Class PersistentPropertyInfo

java.lang.Object
  extended by com.bm.introspectors.PersistentPropertyInfo

public class PersistentPropertyInfo
extends java.lang.Object

This class represents all informations about persitent fields.

Since:
07.10.2005
Author:
Daniel Wiese

Constructor Summary
PersistentPropertyInfo()
           
 
Method Summary
 java.lang.String getDbName()
          Returns the dbName.
 EntityReleationInfo getEntityReleationInfo()
          Returns the entityReleationInfo.
 int getLength()
          Returns the length.
 boolean isEmbeddedClass()
          Returns the isEmbeddedClass.
 boolean isNullable()
          Returns the isNullable.
 boolean isReleation()
          Returns true if thisproperty represents a relation and returns true if this is a case (the EntityReleationInfo is not null and contains the relevant informations).
 void setDbName(java.lang.String dbName)
          The dbName to set.
 void setEmbeddedClass(boolean isEmbeddedClass)
          The isEmbeddedClass to set.
 void setEntityReleationInfo(EntityReleationInfo entityReleationInfo)
          The entityReleationInfo to set.
 void setLength(int length)
          The length to set.
 void setNullable(boolean isNullable)
          Sets the isNullable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentPropertyInfo

public PersistentPropertyInfo()
Method Detail

isNullable

public boolean isNullable()
Returns the isNullable.

Returns:
Returns the isNullable.

setNullable

public void setNullable(boolean isNullable)
Sets the isNullable.

Parameters:
isNullable - The isNullable to set.

getLength

public int getLength()
Returns the length.

Returns:
Returns the length.

setLength

public void setLength(int length)
The length to set.

Parameters:
length - The length to set.

getDbName

public java.lang.String getDbName()
Returns the dbName.

Returns:
Returns the dbName.

setDbName

public void setDbName(java.lang.String dbName)
The dbName to set.

Parameters:
dbName - The dbName to set.

isEmbeddedClass

public boolean isEmbeddedClass()
Returns the isEmbeddedClass.

Returns:
Returns the isEmbeddedClass.

setEmbeddedClass

public void setEmbeddedClass(boolean isEmbeddedClass)
The isEmbeddedClass to set.

Parameters:
isEmbeddedClass - The isEmbeddedClass to set.

isReleation

public boolean isReleation()
Returns true if thisproperty represents a relation and returns true if this is a case (the EntityReleationInfo is not null and contains the relevant informations).

Returns:
Returns the isReleation.

getEntityReleationInfo

public EntityReleationInfo getEntityReleationInfo()
Returns the entityReleationInfo.

Returns:
Returns the entityReleationInfo.

setEntityReleationInfo

public void setEntityReleationInfo(EntityReleationInfo entityReleationInfo)
The entityReleationInfo to set.

Parameters:
entityReleationInfo - The entityReleationInfo to set.


Copyright © 2008. All Rights Reserved.