Examples of EOArgumentDirection


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

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

  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

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

    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
Copyright © 2018 www.massapi.com. 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.