/** Overrides Object's <code>toString</code> method to return the name * of this mapping element. * @return a string representation of the object */ public String toString () { return getName(); }
/** Overrides Object's <code>toString</code> method to return the name * of this mapping element. * @return a string representation of the object */ public String toString () { return getName(); }
/** Set the name of this mapping element. * @param name the name * @exception ModelException if impossible */ public void setName (String name) throws ModelException { String old = getName(); try { fireVetoableChange(PROP_NAME, old, name); _name = name; firePropertyChange(PROP_NAME, old, name); } catch (PropertyVetoException e) { throw new ModelVetoException(e); } }
/** Set the name of this mapping element. * @param name the name * @exception ModelException if impossible */ public void setName (String name) throws ModelException { String old = getName(); try { fireVetoableChange(PROP_NAME, old, name); _name = name; firePropertyChange(PROP_NAME, old, name); } catch (PropertyVetoException e) { throw new ModelVetoException(e); } }