litesoft
Diff Revisions
862
vs
863
for /trunk/Java/core/Server/tests/org/litesoft/or/DBEncryptedAttributeSamplesPO.java
|
@@ -552,7 +552,7 @@ |
552 |
552 |
|
|
553 |
553 |
|
public static final AttributeAccessorSCD CD_DateOrdered = new AttributeAccessor_DateOrdered(); |
554 |
554 |
|
|
555 |
|
- |
final LazyEvalSimpleDate mDateOrdered = new LazyEvalSimpleDate(); |
|
555 |
+ |
final LazyEvalCalendarYMD mDateOrdered = new LazyEvalCalendarYMD(); |
556 |
556 |
|
|
557 |
557 |
|
public CalendarYMD getDateOrdered() |
558 |
558 |
|
{ |
|
@@ -569,7 +569,7 @@ |
569 |
569 |
|
{ |
570 |
570 |
|
public AttributeAccessor_DateOrdered() |
571 |
571 |
|
{ |
572 |
|
- |
super( "DateOrdered", "DateOrdered", false, _SimpleDate ); |
|
572 |
+ |
super( "DateOrdered", "DateOrdered", false, _CalendarYMD ); |
573 |
573 |
|
} |
574 |
574 |
|
|
575 |
575 |
|
public Object getValueOnPO( DBEncryptedAttributeSamples pPO ) |
|
@@ -579,19 +579,19 @@ |
579 |
579 |
|
|
580 |
580 |
|
public void setValueOnPO( DBEncryptedAttributeSamples pPO, Object pValue ) |
581 |
581 |
|
{ |
582 |
|
- |
pPO.setDateOrdered( to_SimpleDate( pPO.mDateOrdered.getDateRes(), pValue ) ); |
|
582 |
+ |
pPO.setDateOrdered( to_CalendarYMD( pValue ) ); |
583 |
583 |
|
} |
584 |
584 |
|
|
585 |
585 |
|
@Override |
586 |
586 |
|
public Object db_getValueOnPO( DBEncryptedAttributeSamples pPO ) |
587 |
587 |
|
{ |
588 |
|
- |
return pPO.mDateOrdered.getPersistFormSimpleDate(); |
|
588 |
+ |
return pPO.mDateOrdered.getPersistForm(); |
589 |
589 |
|
} |
590 |
590 |
|
|
591 |
591 |
|
@Override |
592 |
592 |
|
public void db_setValueOnPO( DBEncryptedAttributeSamples pPO, Object pValue ) |
593 |
593 |
|
{ |
594 |
|
- |
pPO.mDateOrdered.setPersistFormSimpleDate( to_String( pValue ) ); |
|
594 |
+ |
pPO.mDateOrdered.setPersistForm( to_String( pValue ) ); |
595 |
595 |
|
} |
596 |
596 |
|
} |
597 |
597 |
|
|