コード例 #1
0
 public void setInstanceWeight(Integer value) {
   if (_TimePointApplication.LOG.isDebugEnabled()) {
     _TimePointApplication.LOG.debug(
         "updating instanceWeight from " + instanceWeight() + " to " + value);
   }
   takeStoredValueForKey(value, "instanceWeight");
 }
コード例 #2
0
 public void setTimePointRelationship(com.dyned.woremotesiteconfig.eom.TimePoint value) {
   if (_TimePointApplication.LOG.isDebugEnabled()) {
     _TimePointApplication.LOG.debug("updating timePoint from " + timePoint() + " to " + value);
   }
   if (value == null) {
     com.dyned.woremotesiteconfig.eom.TimePoint oldValue = timePoint();
     if (oldValue != null) {
       removeObjectFromBothSidesOfRelationshipWithKey(oldValue, "timePoint");
     }
   } else {
     addObjectToBothSidesOfRelationshipWithKey(value, "timePoint");
   }
 }
コード例 #3
0
 public void setStoredAppRelationship(com.dyned.woremotesiteconfig.eom.StoredApp value) {
   if (_TimePointApplication.LOG.isDebugEnabled()) {
     _TimePointApplication.LOG.debug("updating storedApp from " + storedApp() + " to " + value);
   }
   if (value == null) {
     com.dyned.woremotesiteconfig.eom.StoredApp oldValue = storedApp();
     if (oldValue != null) {
       removeObjectFromBothSidesOfRelationshipWithKey(oldValue, "storedApp");
     }
   } else {
     addObjectToBothSidesOfRelationshipWithKey(value, "storedApp");
   }
 }