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 void
add(PropertyEntry propertyEntry)
Adds the newPropertyEntry
to thisChildPropertyEntries
.void
addAll(Collection<PropertyEntry> propertyEntries)
Adds allPropertyEntry
s from the given collection to thisChildPropertyEntries
.boolean
contains(Name propertyName)
Returns true if a property entry with the given name exists.PropertyEntry
get(Name propertyName)
Return the PropertyEntry with the givenName
ornull
.Collection<PropertyEntry>
getPropertyEntries()
Returns an unmodifiable collection containing allPropertyEntry
objects present.Collection<Name>
getPropertyNames()
Returns an unmodifiable collection containing all existing property names.boolean
remove(PropertyEntry propertyEntry)
Remove the collection entry with the givenName
.
-
-
-
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 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:ChildPropertyEntries
Return the PropertyEntry with the givenName
ornull
.- Specified by:
get
in interfaceChildPropertyEntries
- Returns:
- See Also:
ChildPropertyEntries.get(Name)
-
getPropertyEntries
public Collection<PropertyEntry> getPropertyEntries()
Description copied from interface:ChildPropertyEntries
Returns an unmodifiable collection containing allPropertyEntry
objects present.- Specified by:
getPropertyEntries
in interfaceChildPropertyEntries
- 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 interfaceChildPropertyEntries
- Returns:
- Collection of
Name
- See Also:
ChildPropertyEntries.getPropertyNames()
-
add
public void add(PropertyEntry propertyEntry)
Description copied from interface:ChildPropertyEntries
Adds the newPropertyEntry
to thisChildPropertyEntries
.- Specified by:
add
in interfaceChildPropertyEntries
- See Also:
ChildPropertyEntries.add(PropertyEntry)
-
addAll
public void addAll(Collection<PropertyEntry> propertyEntries)
Description copied from interface:ChildPropertyEntries
Adds allPropertyEntry
s from the given collection to thisChildPropertyEntries
.- Specified by:
addAll
in interfaceChildPropertyEntries
- See Also:
ChildPropertyEntries.addAll(Collection)
-
remove
public boolean remove(PropertyEntry propertyEntry)
Description copied from interface:ChildPropertyEntries
Remove the collection entry with the givenName
.- Specified by:
remove
in interfaceChildPropertyEntries
- Returns:
- true If this
ChildPropertyEntries
contained the given entry. False otherwise. - See Also:
ChildPropertyEntries.remove(PropertyEntry)
-
-