Пример #1
0
 public void setTalentRelationship(webobjectsexamples.businesslogic.movies.common.Talent value) {
   if (_MovieRole.LOG.isDebugEnabled()) {
     _MovieRole.LOG.debug("updating talent from " + talent() + " to " + value);
   }
   if (value == null) {
     webobjectsexamples.businesslogic.movies.common.Talent oldValue = talent();
     if (oldValue != null) {
       removeObjectFromBothSidesOfRelationshipWithKey(oldValue, "talent");
     }
   } else {
     addObjectToBothSidesOfRelationshipWithKey(value, "talent");
   }
 }
Пример #2
0
 public void setRoleName(String value) {
   if (_MovieRole.LOG.isDebugEnabled()) {
     _MovieRole.LOG.debug("updating roleName from " + roleName() + " to " + value);
   }
   takeStoredValueForKey(value, "roleName");
 }