示例#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");
 }