Interface ChildPropertyEntries
-
- All Known Implementing Classes:
ChildPropertyEntriesImpl
public interface ChildPropertyEntries
ChildPropertyEntries
...
-
-
Method Summary
All Methods Instance Methods Abstract 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
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 givenName
ornull
.- Parameters:
propertyName
-- Returns:
-
getPropertyEntries
Collection<PropertyEntry> getPropertyEntries()
Returns an unmodifiable collection containing allPropertyEntry
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 newPropertyEntry
to thisChildPropertyEntries
.- Parameters:
propertyEntry
-
-
addAll
void addAll(Collection<PropertyEntry> propertyEntries)
Adds allPropertyEntry
s from the given collection to thisChildPropertyEntries
.- Parameters:
propertyEntries
-
-
remove
boolean remove(PropertyEntry propertyEntry)
Remove the collection entry with the givenName
.- Parameters:
propertyEntry
-- Returns:
- true If this
ChildPropertyEntries
contained the given entry. False otherwise.
-
-