net.noco.dtogen.model
Class BeanPropertySkel

java.lang.Object
  extended bynet.noco.dtogen.model.BeanPropertySkel

public class BeanPropertySkel
extends java.lang.Object

A simple data structure containing all required informations about POJO and DTO.

Version:
$Revision: 1.44 $
Author:
the_mindstorm(at)evolva(dot)ro

Field Summary
 java.lang.String accessorComment
          DTO bean property getter comment.
 java.lang.String[] accessorExceptions
          DTO bean property getter exceptions.
 java.lang.String accessorScope
          Suggested DTO bean property getter scope.
 java.lang.String accessorSignature
          DTO accessor name.
static int ARRAY_TYPE
           
 int arrayDim
          In case of an array the dimensions.
 int beanMode
          Bean conversion mode.
static int COLLECTION_TYPE
           
 java.lang.String dataType
          DTO bean property type.
 java.lang.String elementType
          DTO element of collection bean property data type.
 java.lang.String fieldComment
          DTO bean property field comment.
 java.lang.String fieldScope
          DTO bean property field scope.
 boolean generate
          Flag marking if the bean property must be included in the generated source.
 boolean hasError
          Flag marking if the bean property contains description problems.
 boolean isInherited
           
 java.lang.String keyType
          DTO map key data type.
static int MAP_TYPE
           
 java.util.Map modelBeanPropertyInfos
          Map: key: model fqn.
 java.lang.String mutatorComment
          DTO bean property setter comment.
 java.lang.String[] mutatorExceptions
          DTO bean property setter exceptions.
 java.lang.String mutatorScope
          Suggested DTO bean property setter scope.
 java.lang.String mutatorSignature
          DTO mutator signature.
 java.lang.String name
          DTO bean property name.
 boolean pk
          Marks this bean property as a PK.
static int SIMPLE_TYPE
           
 java.lang.String superPropertyScope
           
 boolean useInEquals
          DTO bean property is used in equals implementation.
 boolean useInToString
          DTO bean property is used in toString implementation.
 
Constructor Summary
BeanPropertySkel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMPLE_TYPE

public static final int SIMPLE_TYPE
See Also:
Constant Field Values

COLLECTION_TYPE

public static final int COLLECTION_TYPE
See Also:
Constant Field Values

ARRAY_TYPE

public static final int ARRAY_TYPE
See Also:
Constant Field Values

MAP_TYPE

public static final int MAP_TYPE
See Also:
Constant Field Values

beanMode

public int beanMode
Bean conversion mode.


pk

public boolean pk
Marks this bean property as a PK.


generate

public boolean generate
Flag marking if the bean property must be included in the generated source. If the encapsulating class comes from an external object or this bean property comes from a super class than generate should be set on false.


hasError

public boolean hasError
Flag marking if the bean property contains description problems. If true than the bean property will not be included in the generated source.


name

public java.lang.String name
DTO bean property name.


dataType

public java.lang.String dataType
DTO bean property type.


elementType

public java.lang.String elementType
DTO element of collection bean property data type.


keyType

public java.lang.String keyType
DTO map key data type.


accessorComment

public java.lang.String accessorComment
DTO bean property getter comment.


accessorExceptions

public java.lang.String[] accessorExceptions
DTO bean property getter exceptions. theoretically none.


accessorScope

public java.lang.String accessorScope
Suggested DTO bean property getter scope.


accessorSignature

public java.lang.String accessorSignature
DTO accessor name. N/A yet.


fieldScope

public java.lang.String fieldScope
DTO bean property field scope.


fieldComment

public java.lang.String fieldComment
DTO bean property field comment.


mutatorComment

public java.lang.String mutatorComment
DTO bean property setter comment.


mutatorExceptions

public java.lang.String[] mutatorExceptions
DTO bean property setter exceptions. Theoretically empty.


mutatorScope

public java.lang.String mutatorScope
Suggested DTO bean property setter scope.


mutatorSignature

public java.lang.String mutatorSignature
DTO mutator signature. N/A yet.


arrayDim

public int arrayDim
In case of an array the dimensions.


useInEquals

public boolean useInEquals
DTO bean property is used in equals implementation.


useInToString

public boolean useInToString
DTO bean property is used in toString implementation.


modelBeanPropertyInfos

public java.util.Map modelBeanPropertyInfos
Map: key: model fqn.


isInherited

public boolean isInherited

superPropertyScope

public java.lang.String superPropertyScope
Constructor Detail

BeanPropertySkel

public BeanPropertySkel()


Copyright © 2004 Alexandru Popescu (a.k.a. the_mindstorm). All Rights Reserved.