Exemplo n.º 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");
   }
 }
Exemplo n.º 2
0
 public void setParentID(Integer value) {
   if (_Category.LOG.isDebugEnabled()) {
     _Category.LOG.debug("updating parentID from " + parentID() + " to " + value);
   }
   takeStoredValueForKey(value, "parentID");
 }
Exemplo n.º 3
0
 public void setName(String value) {
   if (_Category.LOG.isDebugEnabled()) {
     _Category.LOG.debug("updating name from " + name() + " to " + value);
   }
   takeStoredValueForKey(value, "name");
 }
Exemplo n.º 4
0
 public void setId(Integer value) {
   if (_Category.LOG.isDebugEnabled()) {
     _Category.LOG.debug("updating id from " + id() + " to " + value);
   }
   takeStoredValueForKey(value, "id");
 }
Exemplo n.º 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");
 }
Exemplo n.º 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");
 }