com.sage.accpac.sm
Class Organizations

java.lang.Object
  extended by com.sage.accpac.sm.Organizations
All Implemented Interfaces:
java.lang.Iterable<Organization>

@Immutable
@ThreadSafe
public class Organizations
extends java.lang.Object
implements java.lang.Iterable<Organization>

A readonly collection of all the organizations set up in Accpac, at the time that the collection is constructed by a call to SharedDataSet.getOrganizations()

Thread safety
Immutable and therefore thread-safe

Method Summary
 Organization get(int index)
          Get the specified Organization object
 int getCount()
          Get the number of organizations in the list
 java.util.Iterator<Organization> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()
Get the number of organizations in the list


get

public Organization get(int index)
Get the specified Organization object


iterator

public java.util.Iterator<Organization> iterator()
Specified by:
iterator in interface java.lang.Iterable<Organization>


Copyright © 2010 Sage Software, Inc. All rights reserved.