Interface ChildPropertyEntries
-
- All Known Implementing Classes:
ChildPropertyEntriesImpl
public interface ChildPropertyEntriesChildPropertyEntries...
-
-
Method Summary
All Methods Instance Methods Abstract 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
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 givenNameornull.- Parameters:
propertyName-- Returns:
-
getPropertyEntries
Collection<PropertyEntry> getPropertyEntries()
Returns an unmodifiable collection containing allPropertyEntryobjects present.- Returns:
- Collection of all
PropertyEntryobjects 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 newPropertyEntryto thisChildPropertyEntries.- Parameters:
propertyEntry-
-
addAll
void addAll(Collection<PropertyEntry> propertyEntries)
Adds allPropertyEntrys 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
ChildPropertyEntriescontained the given entry. False otherwise.
-
-