org.apache.jackrabbit.jcr2spi.hierarchy
Class ChildPropertyEntriesImpl

java.lang.Object
  extended by org.apache.jackrabbit.jcr2spi.hierarchy.ChildPropertyEntriesImpl
All Implemented Interfaces:
ChildPropertyEntries

public class ChildPropertyEntriesImpl
extends Object
implements ChildPropertyEntries

ChildPropertyEntriesImpl...


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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

contains

public boolean contains(Name propertyName)
Description copied from interface: ChildPropertyEntries
Returns true if a property entry with the given name exists.

Specified by:
contains in interface ChildPropertyEntries
Returns:
true if a property entry with the given name exists.
See Also:
ChildPropertyEntries.contains(Name)

get

public PropertyEntry get(Name propertyName)
Description copied from interface: ChildPropertyEntries
Return the PropertyEntry with the given Name or null.

Specified by:
get in interface ChildPropertyEntries
Returns:
See Also:
ChildPropertyEntries.get(Name)

getPropertyEntries

public Collection<PropertyEntry> getPropertyEntries()
Description copied from interface: ChildPropertyEntries
Returns an unmodifiable collection containing all PropertyEntry objects present.

Specified by:
getPropertyEntries in interface ChildPropertyEntries
Returns:
Collection of all PropertyEntry objects present.
See Also:
ChildPropertyEntries.getPropertyEntries()

getPropertyNames

public Collection<Name> getPropertyNames()
Description copied from interface: ChildPropertyEntries
Returns an unmodifiable collection containing all existing property names.

Specified by:
getPropertyNames in interface ChildPropertyEntries
Returns:
Collection of Name
See Also:
ChildPropertyEntries.getPropertyNames()

add

public void add(PropertyEntry propertyEntry)
Description copied from interface: ChildPropertyEntries
Adds the new PropertyEntry to this ChildPropertyEntries.

Specified by:
add in interface ChildPropertyEntries
See Also:
ChildPropertyEntries.add(PropertyEntry)

addAll

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

Specified by:
addAll in interface ChildPropertyEntries
See Also:
ChildPropertyEntries.addAll(Collection)

remove

public boolean remove(PropertyEntry propertyEntry)
Description copied from interface: ChildPropertyEntries
Remove the collection entry with the given Name.

Specified by:
remove in interface ChildPropertyEntries
Returns:
true If this ChildPropertyEntries contained the given entry. False otherwise.
See Also:
ChildPropertyEntries.remove(PropertyEntry)


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