public class BasicVersionedPropertySet extends DelegatePropertySet implements VersionedPropertySet
EMPTY
Constructor and Description |
---|
BasicVersionedPropertySet(PropertySet base)
If created with only the base, all properties are reported as modified.
|
BasicVersionedPropertySet(PropertySet base,
java.util.Collection<Property<?>> modified)
If created with a non-null collection, only those properties are reported as modified.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Property<?>> |
getModified() |
boolean |
isModified(Property<?> prop) |
java.lang.String |
toString() |
contains, get, getCount, getOrDefault, getOrElse, getProperties, getTarget, getValues, hasTarget, isExtended, isInherited, iterator, merge, remove, set, set, setDelegateTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
builder, extend, getExtension, isExtended, isInherited, newDefaultInstance, newExtension
merge, remove, set, set
contains, get, getOrDefault, getOrElse, getProperties, getValues
public BasicVersionedPropertySet(PropertySet base)
public BasicVersionedPropertySet(PropertySet base, java.util.Collection<Property<?>> modified)
public boolean isModified(Property<?> prop)
isModified
in interface VersionedPropertySet
public java.util.Set<Property<?>> getModified()
getModified
in interface VersionedPropertySet
public java.lang.String toString()
toString
in class java.lang.Object