com.aspose.diagram

Class MasterCollection

  • java.lang.Object
  • All Implemented Interfaces:
    java.lang.Iterable
    public class MasterCollection 
    extends Collection

Master collection.

Property Getters/Setters Summary
intgetCount()
Gets the number of elements actually contained in the collection.
MasterShortcutCollectiongetMasterShortcuts()
MasterShortcut collection.
Masterget(intindex)
Gets the element at the specified index.
 
Method Summary
intadd(Master master)
Add the Master object in the collection.
voidclear()
Removes all elements from collection.
MastergetMaster(intID)
Gets the element at the specified ID.
MastergetMasterByName(java.lang.Stringname)
Get master by name.
intgetMaxRelID()
get the max rel id in the collection.
booleanisExist(intindex)
Is exist item in the collection.
booleanisExist(java.lang.Stringname)
Is exist master in the collection.
booleanisExistRelId(java.lang.StringrelID)
Is exist master rel id in the collection.
java.util.Iteratoriterator()
Supports a simple iteration over a nongeneric collection.
voidremove(Master master)
Remove the Master object from the collection.
 

    • Property Getters/Setters Detail

      • getCount

        public int getCount()
        
        Gets the number of elements actually contained in the collection.
      • get

        public Master get(int index)
        
        Gets the element at the specified index.
        Parameters:
        index -
        Returns:
    • Method Detail

      • add

        public int add(Master master)
        Add the Master object in the collection.
        Parameters:
        master -
        Returns:
      • remove

        public void remove(Master master)
        Remove the Master object from the collection.
        Parameters:
        master -
      • getMaster

        public Master getMaster(int ID)
        Gets the element at the specified ID.
        Parameters:
        ID -
        Returns:
      • getMasterByName

        public Master getMasterByName(java.lang.String name)
        Get master by name.
        Parameters:
        name -
        Returns:
      • getMaxRelID

        public int getMaxRelID()
        get the max rel id in the collection.
        Parameters:
        name -
        Returns:
      • isExistRelId

        public boolean isExistRelId(java.lang.String relID)
        Is exist master rel id in the collection.
        Parameters:
        name -
        Returns:
      • isExist

        public boolean isExist(java.lang.String name)
        Is exist master in the collection.
        Parameters:
        name -
        Returns:
      • iterator

        public java.util.Iterator iterator()
        Supports a simple iteration over a nongeneric collection.
        Returns:
      • isExist

        public boolean isExist(int index)
        Is exist item in the collection.
        Parameters:
        index - index of element.
        Returns:
      • clear

        public void clear()
        Removes all elements from collection.