Package anvil.core

Examples of anvil.core.IndexedEnumeration



  public BindingEnumeration enumeration()
  {
    try {
      return new IndexedEnumeration(_attribute.getAll());
    } catch (NamingException e) {
      throw Context.getInstance().exception(e);
    }
  }
View Full Code Here


  /// @synopsis enumeration getAll()
  public Any m_getAll(anvil.script.Context context)
  {
    try {
      return new AnyBindingEnumeration(
        new IndexedEnumeration(_attribute.getAll()));
    } catch (NamingException e) {
      throw context.exception(e);
    }
  }
View Full Code Here

  }


  public BindingEnumeration enumeration()
  {
    return new IndexedEnumeration(_name.getAll());
  }
View Full Code Here

  }
 

  public BindingEnumeration enumeration()
  {
    return new IndexedEnumeration(_dim.elements());
  }
View Full Code Here

  /// @throws OperationFailed If an error occurred
  public Any m_dims(Context context, Any[] parameters)
  {
    try {
      return new AnyBindingEnumeration(
        new IndexedEnumeration(_synapse.getDimensions()));
    } catch (OperationFailedException e)  {
      throw context.exception(e);
    }
  }
View Full Code Here

  /// Returns the enumeration of Attributes in this set.
  /// @synopsis enumeration getAll()
  public Any m_getAll(anvil.script.Context context, Any[] parameters)
  {
    return new AnyBindingEnumeration(
      new IndexedEnumeration(_attributes.getAll()));
  }
View Full Code Here

  /// Returns the numeration of ID's from this set.
  /// @synopsis enumeration getIDs()
  public Any m_getIDs(anvil.script.Context context, Any[] parameters)
  {
    return new AnyBindingEnumeration(
      new IndexedEnumeration(_attributes.getIDs()));
  }
View Full Code Here

TOP

Related Classes of anvil.core.IndexedEnumeration

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.