litesoft
Diff Revisions
151
vs
223
for /trunk/Java/core/Anywhere/src/org/litesoft/bo/attributes/AttributeMetaData.java
|
@@ -17,8 +17,8 @@ |
17 |
17 |
|
Integer( BoAttribute.AttributeType.Integer ), |
18 |
18 |
|
Long( BoAttribute.AttributeType.Long ), |
19 |
19 |
|
Password( BoAttribute.AttributeType.String ), |
20 |
|
- |
Primitive_boolean( BoAttribute.AttributeType.Boolean ), |
21 |
|
- |
Primitive_int( BoAttribute.AttributeType.Integer ), |
|
20 |
+ |
Primitive_boolean( BoAttribute.AttributeType.Primitive_boolean ), |
|
21 |
+ |
Primitive_int( BoAttribute.AttributeType.Primitive_boolean ), |
22 |
22 |
|
SimpleDate( BoAttribute.AttributeType.SimpleDate ), |
23 |
23 |
|
SimpleFixedPointLong( BoAttribute.AttributeType.SimpleFixedPointLong ), |
24 |
24 |
|
SimpleFloatingPointLong( BoAttribute.AttributeType.SimpleFloatingPointLong ), |
|
@@ -51,6 +51,16 @@ |
51 |
51 |
|
{ |
52 |
52 |
|
return mBoAttributeType; |
53 |
53 |
|
} |
|
54 |
+ |
|
|
55 |
+ |
public boolean isImplicitlyRequired() |
|
56 |
+ |
{ |
|
57 |
+ |
return getBoAttributeType().isPrimitive(); |
|
58 |
+ |
} |
|
59 |
+ |
|
|
60 |
+ |
public Object normalize( Object pValue, boolean pRequired ) |
|
61 |
+ |
{ |
|
62 |
+ |
return getBoAttributeType().normalize( pValue, pRequired ); |
|
63 |
+ |
} |
54 |
64 |
|
} |
55 |
65 |
|
|
56 |
66 |
|
/** |