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"); } }
public void setParentID(Integer value) { if (_Category.LOG.isDebugEnabled()) { _Category.LOG.debug("updating parentID from " + parentID() + " to " + value); } takeStoredValueForKey(value, "parentID"); }
public void setName(String value) { if (_Category.LOG.isDebugEnabled()) { _Category.LOG.debug("updating name from " + name() + " to " + value); } takeStoredValueForKey(value, "name"); }
public void setId(Integer value) { if (_Category.LOG.isDebugEnabled()) { _Category.LOG.debug("updating id from " + id() + " to " + value); } takeStoredValueForKey(value, "id"); }
public void removeFromAdvertsRelationship(edu.umich.marketplace.eof.Advert object) { if (_Category.LOG.isDebugEnabled()) { _Category.LOG.debug("removing " + object + " from adverts relationship"); } removeObjectFromBothSidesOfRelationshipWithKey(object, "adverts"); }
public void addToAdvertsRelationship(edu.umich.marketplace.eof.Advert object) { if (_Category.LOG.isDebugEnabled()) { _Category.LOG.debug("adding " + object + " to adverts relationship"); } addObjectToBothSidesOfRelationshipWithKey(object, "adverts"); }