Point.Named, Point.Replicate
ARCHIVE_TIME_PARAM, CAPTURE_LIMIT_PARAM, CAPTURE_TIME_PARAM, CEILING_GAP_PARAM, CEILING_RATIO_PARAM, CONFIRM_PARAM, DEADBAND_GAP_PARAM, DEADBAND_RATIO_PARAM, FAIL_RETURNS_NULL_PARAM, FILTER_PARAM, FILTER_STAMP_TRIM_UNIT_PARAM, FILTER_TIME_LIMIT_PARAM, FLOOR_GAP_PARAM, FLOOR_RATIO_PARAM, KEEP_AT_LEAST_PARAM, KEEP_AT_MOST_PARAM, LIFE_TIME_PARAM, NOTIFY_PARAM, NULL, NULL_REMOVES_PARAM, PARAM_PARAM, POLATOR_PARAM, POLATOR_TIME_LIMIT_PARAM, RECALC_LATEST_PARAM, REPLICATED_PARAM, RESPECT_VERSION_PARAM, RESYNCHRONIZED_PARAM, STATES_PARAM, STEP_SIZE_PARAM, TAG_PARAM, VOLATILE_PARAM
UUID_COMPARATOR
Constructor and Description |
---|
Named(String name)
Constructs an instance.
|
Named(String name,
Optional<UUID> uuid)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Entity other) |
Point.Named |
copy()
Creates a copy of this entity.
|
boolean |
equals(Object other) |
ValueFilter |
filter()
Returns a configured filter.
|
Optional<Attributes> |
getAttributes(String usage)
Gets the attributes for an usage.
|
Optional<Content> |
getContent()
Gets this point's content handling instance.
|
String |
getElementName()
Gets the entity element name.
|
List<? extends PointRelation> |
getInputs()
Gets this point's inputs.
|
int |
getLevel()
Gets this point's level.
|
Optional<String> |
getName()
Gets the name of this.
|
Optional<String> |
getNameInUpperCase()
Gets the name of this in upper case.
|
Optional<Origin> |
getOrigin()
Gets this point's origin.
|
Params |
getParams()
Gets this point's parameters.
|
String |
getPrefix()
Gets the class prefix.
|
String |
getReferenceName()
Gets the entity reference name.
|
List<Point.Replicate> |
getReplicates()
Gets this point's replicates.
|
List<? extends PointRelation> |
getResults()
Gets this point's dependents.
|
Optional<Store> |
getStore()
Gets this point's store.
|
Optional<Sync> |
getSync()
Gets a synchronization object for this point.
|
Optional<UUID> |
getUUID()
Gets the UUID of this Entity.
|
int |
hashCode() |
boolean |
isDropped()
Asks if this point is dropped.
|
boolean |
isNullRemoves(boolean defaultNullRemoves)
Asks if a null point values should result in the removal of the values
at the corresponding time stamp.
|
boolean |
isSynced()
Asks if this point has a synchronization object.
|
boolean |
isVolatile()
Asks if this point is volatile.
|
String |
toString() |
public Named(@Nonnull String name)
name
- The point's name.public Named(@Nonnull String name, @Nonnull Optional<UUID> uuid)
name
- The point's name.uuid
- The optional point's UUID.public int compareTo(Entity other)
compareTo
in interface Comparable<Entity>
public Point.Named copy()
public boolean equals(Object other)
equals
in class Object
public ValueFilter filter()
public Optional<Attributes> getAttributes(String usage)
getAttributes
in interface Entity
usage
- The usage.public Optional<Content> getContent()
The point's content handling provides normalization / denormalization services.
getContent
in interface Point
public String getElementName()
The entity element is used to in the generation of the entity URI.
getElementName
in interface Entity
public List<? extends PointRelation> getInputs()
The point's inputs are the points that may trigger a computation of this point and / or are needed by this point's transform program.
public int getLevel()
A point's level determines the order of processing for the processor.
public Optional<String> getName()
public Optional<String> getNameInUpperCase()
getNameInUpperCase
in interface Entity
public Optional<Origin> getOrigin()
public Params getParams()
public String getPrefix()
Each concrete entity subclass has its own prefix which will be the same for all its instances. This prefix is used to avoid name collision between different classes in a common registry.
public String getReferenceName()
getReferenceName
in interface Entity
public List<Point.Replicate> getReplicates()
getReplicates
in interface Point
public List<? extends PointRelation> getResults()
When a new or updated value of this point may trigger the computation of the value of an other point and / or this point's value is used in its computation, that other point is considered a dependent.
getResults
in interface Point
public Optional<Store> getStore()
public Optional<Sync> getSync()
public Optional<UUID> getUUID()
public int hashCode()
hashCode
in class Object
public boolean isDropped()
A point may be dropped from the metadata of a service if it is not used to fulfill the responsibilities of the service.
public boolean isNullRemoves(boolean defaultNullRemoves)
isNullRemoves
in interface Point
defaultNullRemoves
- A default value for the answer.public boolean isSynced()
public boolean isVolatile()
isVolatile
in interface Point
public String toString()
toString
in class Object
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.