예제 #1
0
 public void setParentRelationship(edu.umich.marketplace.eof.Category value) {
   if (_Category.LOG.isDebugEnabled()) {
     _Category.LOG.debug("updating parent from " + parent() + " to " + value);
   }
   if (value == null) {
     edu.umich.marketplace.eof.Category oldValue = parent();
     if (oldValue != null) {
       removeObjectFromBothSidesOfRelationshipWithKey(oldValue, "parent");
     }
   } else {
     addObjectToBothSidesOfRelationshipWithKey(value, "parent");
   }
 }
예제 #2
0
 public void setParentID(Integer value) {
   if (_Category.LOG.isDebugEnabled()) {
     _Category.LOG.debug("updating parentID from " + parentID() + " to " + value);
   }
   takeStoredValueForKey(value, "parentID");
 }
예제 #3
0
 public void setName(String value) {
   if (_Category.LOG.isDebugEnabled()) {
     _Category.LOG.debug("updating name from " + name() + " to " + value);
   }
   takeStoredValueForKey(value, "name");
 }
예제 #4
0
 public void setId(Integer value) {
   if (_Category.LOG.isDebugEnabled()) {
     _Category.LOG.debug("updating id from " + id() + " to " + value);
   }
   takeStoredValueForKey(value, "id");
 }
예제 #5
0
 public void removeFromAdvertsRelationship(edu.umich.marketplace.eof.Advert object) {
   if (_Category.LOG.isDebugEnabled()) {
     _Category.LOG.debug("removing " + object + " from adverts relationship");
   }
   removeObjectFromBothSidesOfRelationshipWithKey(object, "adverts");
 }
예제 #6
0
 public void addToAdvertsRelationship(edu.umich.marketplace.eof.Advert object) {
   if (_Category.LOG.isDebugEnabled()) {
     _Category.LOG.debug("adding " + object + " to adverts relationship");
   }
   addObjectToBothSidesOfRelationshipWithKey(object, "adverts");
 }