Package org.objectstyle.wolips.eomodeler.core.model

Examples of org.objectstyle.wolips.eomodeler.core.model.EOArgumentDirection


  public Image getImage(Object _element) {
    return null;
  }

  public String getText(Object _element) {
    EOArgumentDirection direction = (EOArgumentDirection) _element;
    return direction.getName();
  }
View Full Code Here


  public Object getValue(Object _element, String _property) {
    EOArgument argument = (EOArgument) _element;
    Object value = null;
    if (EOArgument.DIRECTION.equals(_property)) {
      EOArgumentDirection direction = argument.getDirection();
      value = new Integer(direction.getID());
    } else if (AbstractEOArgument.ALLOWS_NULL.equals(_property)) {
      value = super.getValue(_element, _property);
      if (value == null) {
        value = Boolean.FALSE;
      }
View Full Code Here

    boolean modified = false;
    EOArgument argument = (EOArgument) _element;
    if (EOArgument.DIRECTION.equals(_property)) {
      Integer argumentID = (Integer) _value;
      int argumentIDInt = argumentID.intValue();
      EOArgumentDirection direction = EOArgumentDirection.getArgumentDirectionByID(argumentIDInt);
      argument.setDirection(direction);
      modified = true;
    }
    return modified;
  }
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.eomodeler.core.model.EOArgumentDirection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.