Class ChildPropertyEntriesImpl
- java.lang.Object
-
- org.apache.jackrabbit.jcr2spi.hierarchy.ChildPropertyEntriesImpl
-
- All Implemented Interfaces:
ChildPropertyEntries
public class ChildPropertyEntriesImpl extends Object implements ChildPropertyEntries
ChildPropertyEntriesImpl...
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(PropertyEntry propertyEntry)Adds the newPropertyEntryto thisChildPropertyEntries.voidaddAll(Collection<PropertyEntry> propertyEntries)Adds allPropertyEntrys from the given collection to thisChildPropertyEntries.booleancontains(Name propertyName)Returns true if a property entry with the given name exists.PropertyEntryget(Name propertyName)Return the PropertyEntry with the givenNameornull.Collection<PropertyEntry>getPropertyEntries()Returns an unmodifiable collection containing allPropertyEntryobjects present.Collection<Name>getPropertyNames()Returns an unmodifiable collection containing all existing property names.booleanremove(PropertyEntry propertyEntry)Remove the collection entry with the givenName.
-
-
-
Method Detail
-
contains
public boolean contains(Name propertyName)
Description copied from interface:ChildPropertyEntriesReturns true if a property entry with the given name exists.- Specified by:
containsin interfaceChildPropertyEntries- 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:ChildPropertyEntriesReturn the PropertyEntry with the givenNameornull.- Specified by:
getin interfaceChildPropertyEntries- Returns:
- See Also:
ChildPropertyEntries.get(Name)
-
getPropertyEntries
public Collection<PropertyEntry> getPropertyEntries()
Description copied from interface:ChildPropertyEntriesReturns an unmodifiable collection containing allPropertyEntryobjects present.- Specified by:
getPropertyEntriesin interfaceChildPropertyEntries- Returns:
- Collection of all
PropertyEntryobjects present. - See Also:
ChildPropertyEntries.getPropertyEntries()
-
getPropertyNames
public Collection<Name> getPropertyNames()
Description copied from interface:ChildPropertyEntriesReturns an unmodifiable collection containing all existing property names.- Specified by:
getPropertyNamesin interfaceChildPropertyEntries- Returns:
- Collection of
Name - See Also:
ChildPropertyEntries.getPropertyNames()
-
add
public void add(PropertyEntry propertyEntry)
Description copied from interface:ChildPropertyEntriesAdds the newPropertyEntryto thisChildPropertyEntries.- Specified by:
addin interfaceChildPropertyEntries- See Also:
ChildPropertyEntries.add(PropertyEntry)
-
addAll
public void addAll(Collection<PropertyEntry> propertyEntries)
Description copied from interface:ChildPropertyEntriesAdds allPropertyEntrys from the given collection to thisChildPropertyEntries.- Specified by:
addAllin interfaceChildPropertyEntries- See Also:
ChildPropertyEntries.addAll(Collection)
-
remove
public boolean remove(PropertyEntry propertyEntry)
Description copied from interface:ChildPropertyEntriesRemove the collection entry with the givenName.- Specified by:
removein interfaceChildPropertyEntries- Returns:
- true If this
ChildPropertyEntriescontained the given entry. False otherwise. - See Also:
ChildPropertyEntries.remove(PropertyEntry)
-
-