org.apache.jackrabbit.jcr2spi.hierarchy
Interface ChildPropertyEntries

All Known Implementing Classes:
ChildPropertyEntriesImpl

public interface ChildPropertyEntries

ChildPropertyEntries...


Method Summary
 void add(PropertyEntry propertyEntry)
          Adds the new PropertyEntry to this ChildPropertyEntries.
 void addAll(Collection<PropertyEntry> propertyEntries)
          Adds all PropertyEntrys from the given collection to this ChildPropertyEntries.
 boolean contains(Name propertyName)
          Returns true if a property entry with the given name exists.
 PropertyEntry get(Name propertyName)
          Return the PropertyEntry with the given Name or null.
 Collection<PropertyEntry> getPropertyEntries()
          Returns an unmodifiable collection containing all PropertyEntry objects present.
 Collection<Name> getPropertyNames()
          Returns an unmodifiable collection containing all existing property names.
 boolean remove(PropertyEntry propertyEntry)
          Remove the collection entry with the given Name.
 

Method Detail

contains

boolean contains(Name propertyName)
Returns true if a property entry with the given name exists.

Parameters:
propertyName -
Returns:
true if a property entry with the given name exists.

get

PropertyEntry get(Name propertyName)
Return the PropertyEntry with the given Name or null.

Parameters:
propertyName -
Returns:

getPropertyEntries

Collection<PropertyEntry> getPropertyEntries()
Returns an unmodifiable collection containing all PropertyEntry objects present.

Returns:
Collection of all PropertyEntry objects present.

getPropertyNames

Collection<Name> getPropertyNames()
Returns an unmodifiable collection containing all existing property names.

Returns:
Collection of Name

add

void add(PropertyEntry propertyEntry)
Adds the new PropertyEntry to this ChildPropertyEntries.

Parameters:
propertyEntry -

addAll

void addAll(Collection<PropertyEntry> propertyEntries)
Adds all PropertyEntrys from the given collection to this ChildPropertyEntries.

Parameters:
propertyEntries -

remove

boolean remove(PropertyEntry propertyEntry)
Remove the collection entry with the given Name.

Parameters:
propertyEntry -
Returns:
true If this ChildPropertyEntries contained the given entry. False otherwise.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.