com.healthmarketscience.jackcess.impl
Class PropertyMaps

java.lang.Object
  extended by com.healthmarketscience.jackcess.impl.PropertyMaps
All Implemented Interfaces:
Iterable<PropertyMapImpl>

public class PropertyMaps
extends Object
implements Iterable<PropertyMapImpl>

Collection of PropertyMap instances read from a single property data block.

Author:
James Ahlborn

Field Summary
static String DEFAULT_NAME
          the name of the "default" properties for a PropertyMaps instance
 
Constructor Summary
PropertyMaps(int objectId, RowIdImpl rowId, com.healthmarketscience.jackcess.impl.PropertyMaps.Handler handler)
           
 
Method Summary
 PropertyMapImpl get(String name)
           
 PropertyMapImpl getDefault()
           
 int getObjectId()
           
 int getSize()
           
 boolean isEmpty()
           
 Iterator<PropertyMapImpl> iterator()
           
 void save()
           
 String toString()
           
 byte[] write()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_NAME

public static final String DEFAULT_NAME
the name of the "default" properties for a PropertyMaps instance

See Also:
Constant Field Values
Constructor Detail

PropertyMaps

public PropertyMaps(int objectId,
                    RowIdImpl rowId,
                    com.healthmarketscience.jackcess.impl.PropertyMaps.Handler handler)
Method Detail

getObjectId

public int getObjectId()

getSize

public int getSize()

isEmpty

public boolean isEmpty()

getDefault

public PropertyMapImpl getDefault()
Returns:
the unnamed "default" PropertyMap in this group, creating if necessary.

get

public PropertyMapImpl get(String name)
Returns:
the PropertyMap with the given name in this group, creating if necessary

iterator

public Iterator<PropertyMapImpl> iterator()
Specified by:
iterator in interface Iterable<PropertyMapImpl>

write

public byte[] write()
             throws IOException
Throws:
IOException

save

public void save()
          throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005–2017 Health Market Science. All rights reserved.