Uses of Interface
no.priv.bang.modeling.modelstore.services.Propertyset
-
Packages that use Propertyset Package Description no.priv.bang.modeling.modelstore.backend no.priv.bang.modeling.modelstore.services no.priv.bang.modeling.modelstore.value -
-
Uses of Propertyset in no.priv.bang.modeling.modelstore.backend
Fields in no.priv.bang.modeling.modelstore.backend with type parameters of type Propertyset Modifier and Type Field Description private Set<Propertyset>
ModelContextImpl. embeddedAspects
private Map<UUID,Propertyset>
ModelContextImpl. propertysets
Methods in no.priv.bang.modeling.modelstore.backend that return Propertyset Modifier and Type Method Description private Propertyset
ModelContextRecordingMetadata. createMetadata()
Propertyset
ModelContextImpl. createPropertyset()
Propertyset
ModelContextRecordingMetadata. createPropertyset()
private Propertyset
JsonPropertysetPersister. createPropertysetIfNull(Propertyset propertyset)
Propertyset
ModelContextImpl. findPropertyset(UUID id)
Propertyset
ModelContextRecordingMetadata. findPropertyset(UUID id)
private Propertyset
JsonPropertysetPersister. parseIdProperty(com.fasterxml.jackson.core.JsonParser parser, ModelContext modelContext, Propertyset propertyset)
private Propertyset
JsonPropertysetPersister. parseObjectReference(com.fasterxml.jackson.core.JsonParser parser, ModelContext modelContext)
private Propertyset
JsonPropertysetPersister. parsingAllOrdinaryPropertiesOfAPropertyset(com.fasterxml.jackson.core.JsonParser parser, ModelContext modelContext, Propertyset propertyset, String currentFieldName)
private Propertyset
JsonPropertysetPersister. parsingAspectProperty(com.fasterxml.jackson.core.JsonParser parser, ModelContext modelContext, Propertyset propertyset)
Methods in no.priv.bang.modeling.modelstore.backend that return types with arguments of type Propertyset Modifier and Type Method Description Collection<Propertyset>
ModelContextImpl. findObjectsOfAspect(Propertyset aspect)
Collection<Propertyset>
ModelContextRecordingMetadata. findObjectsOfAspect(Propertyset aspect)
(package private) Set<Propertyset>
ModelContextImpl. followInheritanceChain(Propertyset aspect)
Collection<Propertyset>
ModelContextImpl. listAllAspects()
Collection<Propertyset>
ModelContextRecordingMetadata. listAllAspects()
Collection<Propertyset>
ModelContextImpl. listAllPropertysets()
Collection<Propertyset>
ModelContextRecordingMetadata. listAllPropertysets()
Methods in no.priv.bang.modeling.modelstore.backend with parameters of type Propertyset Modifier and Type Method Description private static void
ModelContexts. addMissingPropertysetToContext(ModelContext context, UUID propertysetId, Propertyset propertyset)
private Propertyset
JsonPropertysetPersister. createPropertysetIfNull(Propertyset propertyset)
Collection<Propertyset>
ModelContextImpl. findObjectsOfAspect(Propertyset aspect)
Collection<Propertyset>
ModelContextRecordingMetadata. findObjectsOfAspect(Propertyset aspect)
(package private) Set<Propertyset>
ModelContextImpl. followInheritanceChain(Propertyset aspect)
Date
ModelContextImpl. getLastmodifieddate(Propertyset propertyset)
Date
ModelContextRecordingMetadata. getLastmodifieddate(Propertyset propertyset)
void
ModelContextRecordingMetadata. modifiedPropertyset(Propertyset propertyset)
Set a timestamp for the propertyset given as an argumentprivate void
JsonPropertysetPersister. outputPropertyset(com.fasterxml.jackson.core.JsonGenerator generator, Propertyset propertyset)
private Propertyset
JsonPropertysetPersister. parseIdProperty(com.fasterxml.jackson.core.JsonParser parser, ModelContext modelContext, Propertyset propertyset)
private Propertyset
JsonPropertysetPersister. parsingAllOrdinaryPropertiesOfAPropertyset(com.fasterxml.jackson.core.JsonParser parser, ModelContext modelContext, Propertyset propertyset, String currentFieldName)
private Propertyset
JsonPropertysetPersister. parsingAspectProperty(com.fasterxml.jackson.core.JsonParser parser, ModelContext modelContext, Propertyset propertyset)
(package private) void
ModelContextRecordingMetadata. setLastmodifiedtimes(Propertyset metadata)
UUIDs of propertysets are the propertynames of the "lastmodifiedtimes" complex property.Method parameters in no.priv.bang.modeling.modelstore.backend with type arguments of type Propertyset Modifier and Type Method Description private static Collection<UUID>
ModelContexts. findPropertysetIds(Collection<Propertyset> propertysets)
private void
JsonPropertysetPersister. outputPropertySets(com.fasterxml.jackson.core.JsonGenerator generator, Collection<Propertyset> propertysets)
-
Uses of Propertyset in no.priv.bang.modeling.modelstore.services
Methods in no.priv.bang.modeling.modelstore.services that return Propertyset Modifier and Type Method Description Propertyset
Value. asComplexProperty()
Propertyset
Value. asReference()
Propertyset
ModelContext. createPropertyset()
Create a newPropertyset
instance that has no id and can be used as a complex property value of anotherPropertyset
.Propertyset
ModelContext. findPropertyset(UUID id)
Return aPropertyset
with agetId()
matching the argument.Propertyset
Propertyset. getComplexProperty(String propertyname)
Propertyset
ValueCreator. getNilPropertyset()
Return an object that can be used to represent undefinedPropertyset
valuesPropertyset
Propertyset. getReferenceProperty(String propertyname)
Propertyset
ValueCreator. newPropertyset()
Create a new, empty, id-lessPropertyset
.Propertyset
ValueCreator. newPropertyset(UUID id)
Create a new, emptyPropertyset
with a given id valuePropertyset
ValueCreator. unwrapPropertyset(Propertyset propertyset)
If the propertyset is wrapped in a different propertyset, then return the inner propertyset if not, just return the argument as-is.Propertyset
ValueCreator. wrapInModificationTracker(ModificationRecorder recorder, Propertyset propertyset)
Wrap aPropertyset
in a newPropertyset
that will record all modifications to the propertyset in aModificationRecorder
.Methods in no.priv.bang.modeling.modelstore.services that return types with arguments of type Propertyset Modifier and Type Method Description Collection<Propertyset>
ModelContext. findObjectsOfAspect(Propertyset aspect)
Find all of thePropertyset
instances that have had a particular aspect applied to it.Collection<Propertyset>
ModelContext. listAllAspects()
List all of thePropertyset
instances with ids that contain aspect descriptions in this context.Collection<Propertyset>
ModelContext. listAllPropertysets()
List all of thePropertyset
instances with ids, except for the aspects that is built into everyPropertyset
.Methods in no.priv.bang.modeling.modelstore.services with parameters of type Propertyset Modifier and Type Method Description void
ValueList. add(Propertyset value)
void
Propertyset. addAspect(Propertyset aspect)
void
Propertyset. copyValues(Propertyset propertyset)
Copy all property values from the propertyset given as argument into the current propertyset, except for the "id" property.Collection<Propertyset>
ModelContext. findObjectsOfAspect(Propertyset aspect)
Find all of thePropertyset
instances that have had a particular aspect applied to it.Date
ModelContext. getLastmodifieddate(Propertyset propertyset)
Get the last modified date and time of a propertyset.Date
ModificationRecorder. getLastmodifieddate(Propertyset propertyset)
Retrieve the last modified date and time for a propertyset.void
ModificationRecorder. modifiedPropertyset(Propertyset propertyset)
Set a timestamp for the propertyset given as an argumentValue
ValueList. set(int i, Propertyset value)
void
Propertyset. setComplexProperty(String propertyname, Propertyset complexProperty)
void
Propertyset. setReferenceProperty(String propertyname, Propertyset referencedObject)
Value
ValueCreator. toComplexValue(Propertyset propertyset)
Create an embedded object value from a propertysetValue
ValueCreator. toReferenceValue(Propertyset propertyset)
Create a reference value to a propertyset (a "pointer to an object")Propertyset
ValueCreator. unwrapPropertyset(Propertyset propertyset)
If the propertyset is wrapped in a different propertyset, then return the inner propertyset if not, just return the argument as-is.Propertyset
ValueCreator. wrapInModificationTracker(ModificationRecorder recorder, Propertyset propertyset)
Wrap aPropertyset
in a newPropertyset
that will record all modifications to the propertyset in aModificationRecorder
. -
Uses of Propertyset in no.priv.bang.modeling.modelstore.value
Classes in no.priv.bang.modeling.modelstore.value that implement Propertyset Modifier and Type Class Description class
PropertysetImpl
Implementation ofPropertyset
backed by aMap
.class
PropertysetNil
Singleton implementation ofPropertyset
intended to be used instead of null, for undefined property values, or values that cannot be cast to aPropertyset
(package private) class
PropertysetRecordingSaveTime
This is an implementation ofPropertyset
that wraps aPropertysetImpl
object, and has a back reference to the ModelContextRecordingMetadata that is used to set the lastmodifiedtime of thePropertyset
.Fields in no.priv.bang.modeling.modelstore.value declared as Propertyset Modifier and Type Field Description private Propertyset
PropertysetRecordingSaveTime. propertyset
private static Propertyset
PropertysetNil. singleton
protected Propertyset
PropertysetValueBase. value
Methods in no.priv.bang.modeling.modelstore.value with parameters of type Propertyset Modifier and Type Method Description void
EmptyValueList. add(Propertyset value)
void
ValueArrayList. add(Propertyset value)
void
PropertysetImpl. addAspect(Propertyset aspect)
void
PropertysetNil. addAspect(Propertyset aspect)
void
PropertysetRecordingSaveTime. addAspect(Propertyset aspect)
private boolean
PropertysetImpl. aspectContainedInList(ValueList aspectList, Propertyset aspect)
void
PropertysetImpl. copyValues(Propertyset propertyset)
void
PropertysetNil. copyValues(Propertyset propertyset)
void
PropertysetRecordingSaveTime. copyValues(Propertyset propertyset)
static Propertyset
Propertysets. findWrappedPropertyset(Propertyset propertyset)
If thePropertyset
argument's implementation is wrapping a differentPropertyset
(e.g.Value
EmptyValueList. set(int i, Propertyset value)
Value
ValueArrayList. set(int i, Propertyset value)
void
PropertysetImpl. setComplexProperty(String propertyname, Propertyset complexProperty)
void
PropertysetNil. setComplexProperty(String propertyname, Propertyset complexProperty)
void
PropertysetRecordingSaveTime. setComplexProperty(String propertyname, Propertyset complexProperty)
void
PropertysetImpl. setReferenceProperty(String propertyname, Propertyset referencedObject)
void
PropertysetNil. setReferenceProperty(String string, Propertyset referencedObject)
void
PropertysetRecordingSaveTime. setReferenceProperty(String propertyname, Propertyset referencedObject)
Value
ValueCreatorProvider. toComplexValue(Propertyset propertyset)
static Value
Values. toComplexValue(Propertyset complexValue)
Create new instances ofComplexValue
static Value
Values. toComplexValue(Propertyset complexValue, boolean makeDefensiveCopy)
Create new instances ofComplexValue
Value
ValueCreatorProvider. toReferenceValue(Propertyset propertyset)
static Value
Values. toReferenceValue(Propertyset referencedValue)
Create new instances ofReferenceValue
Propertyset
ValueCreatorProvider. unwrapPropertyset(Propertyset propertyset)
Propertyset
ValueCreatorProvider. wrapInModificationTracker(ModificationRecorder recorder, Propertyset propertyset)
Constructors in no.priv.bang.modeling.modelstore.value with parameters of type Propertyset Constructor Description ComplexValue(Propertyset value)
PropertysetImpl(Propertyset propertyset)
PropertysetRecordingSaveTime(ModificationRecorder recorder, Propertyset propertyset)
PropertysetValueBase(Propertyset value)
ReferenceValue(Propertyset value)
-