public class OccurringValuesImpl extends Object implements OccurringValues
OccurringValues
implementation. Allows updating the
information if the object is up-to-date.Constructor and Description |
---|
OccurringValuesImpl(com.google.common.collect.Multiset<Object> values,
PropertyEntityDefinition property)
Create an object with information about the occurring values in a
property.
|
Modifier and Type | Method and Description |
---|---|
PropertyEntityDefinition |
getProperty()
Get the associated property entity.
|
com.google.common.collect.Multiset<Object> |
getValues()
Get the occurring values for the associated property entity.
|
void |
invalidate()
Invalidate the information.
|
boolean |
isUpToDate()
Specifies if the values are up-to-date or if there may be discrepancies
to the current loaded instances (e.g.
|
public OccurringValuesImpl(com.google.common.collect.Multiset<Object> values, PropertyEntityDefinition property)
values
- the occurring valuesproperty
- the propertypublic com.google.common.collect.Multiset<Object> getValues()
OccurringValues
getValues
in interface OccurringValues
public PropertyEntityDefinition getProperty()
OccurringValues
getProperty
in interface OccurringValues
public boolean isUpToDate()
OccurringValues
isUpToDate
in interface OccurringValues
true
if it can be safely assumed that the
information is up-to-date, false
otherwisepublic void invalidate()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a