java.lang.Object
io.github.mmm.event.AbstractEventSource<ObservableEvent<String>,ObservableEventListener<? super String>>
io.github.mmm.event.AbstractEventSender<ObservableEvent<String>,ObservableEventListener<? super String>>
io.github.mmm.value.observable.AbstractObservableValue<String>
io.github.mmm.value.observable.AbstractWritableObservableValue<String>
io.github.mmm.property.Property<String>
io.github.mmm.property.object.SimpleProperty<String>
io.github.mmm.property.string.StringProperty
io.github.mmm.property.string.StringCollectionProperty
io.github.mmm.property.string.StringSetProperty
- All Implemented Interfaces:
io.github.mmm.event.EventSource<ObservableEvent<String>,,ObservableEventListener<? super String>> io.github.mmm.marshall.MarshallableObject,io.github.mmm.marshall.Marshaller<Object>,io.github.mmm.marshall.Marshalling<Object>,io.github.mmm.marshall.MarshallingObject,io.github.mmm.marshall.UnmarshallableObject,io.github.mmm.marshall.Unmarshaller<Object>,AttributeReadOnly,io.github.mmm.property.comparable.ComparablePredicateSupport<String>,io.github.mmm.property.comparable.ReadableComparableProperty<String>,io.github.mmm.property.comparable.WritableComparableProperty<String>,ReadableSimpleProperty<String>,WritableSimpleProperty<String>,ReadableProperty<String>,ReadableStringProperty,WritableStringProperty,WritableProperty<String>,Validatable,io.github.mmm.value.CriteriaObject<String>,ComparableExpression<String>,Expression<String>,ObservableSimpleValue<String>,ReadableSimpleValue<String>,WritableSimpleValue<String>,ObservableValue<String>,ObservableStringValue,ReadableStringValue,StringExpression,WritableStringValue,WritableObservableValue<String>,io.github.mmm.value.PropertyPath<String>,io.github.mmm.value.ReadablePath,io.github.mmm.value.ReadableTypedValue<String>,io.github.mmm.value.ReadableValue<String>,io.github.mmm.value.TypedPropertyPath<String>,io.github.mmm.value.WritableValue<String>,Cloneable,Comparable<ReadableProperty<?>>,Iterable<String>,Supplier<String>
- Direct Known Subclasses:
StringSetCsvProperty
StringCollectionProperty maintaining a Set of Strings. It will preserve the order of its
elements as they are added in its value. However, the order of the
value as set is unspecified.A
StringSetProperty is especially useful to represent tags, synonyms/aliases, etc. However, study
StringCollectionProperty before using.- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.mmm.value.ReadablePath
io.github.mmm.value.ReadablePath.PathBuilder -
Field Summary
Fields inherited from interface io.github.mmm.property.WritableProperty
NO_PROPERTIES -
Constructor Summary
ConstructorsConstructorDescriptionStringSetProperty(String name) The constructor.StringSetProperty(String name, PropertyMetadata<String> metadata) The constructor. -
Method Summary
Methods inherited from class io.github.mmm.property.string.StringCollectionProperty
add, collect, contains, getCsv, getSeparator, isEncloseWithSeparator, iterator, readValue, remove, set, setCsv, setCsv, setWithChange, writeMethods inherited from class io.github.mmm.property.string.StringProperty
doGet, doSetMethods inherited from class io.github.mmm.property.Property
clearValidationResult, clone, compareTo, copy, createReadOnlyExpression, doValidate, doValidate, equals, get, getMetadata, getName, getReadOnly, hashCode, isReadOnly, isSensitive, isValid, isValueMutable, makeReadOnly, read, readObject, requireWritable, toString, validate, writeObjectMethods inherited from class io.github.mmm.value.observable.AbstractWritableObservableValue
bindInternal, bindOneWay, bindTwoWay, isBoundOneWay, isValueEqual, set, unbindOneWay, unbindTwoWayMethods inherited from class io.github.mmm.value.observable.AbstractObservableValue
doAddListener, fireChange, fireEvent, fireEvent, fireEventFor, fireEventFor, fireEventWithOldValue, hasChangeAwareListeners, invalidate, removeListener, toStringMethods inherited from class io.github.mmm.event.AbstractEventSender
getEventAdapter, hasListenersMethods inherited from class io.github.mmm.event.AbstractEventSource
addListenerMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.mmm.property.AttributeReadOnly
isReadOnlyMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface io.github.mmm.value.observable.comparable.ComparableExpression
greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualToMethods inherited from interface io.github.mmm.property.comparable.ComparablePredicateSupport
ge, ge, gt, gt, le, le, lt, ltMethods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListenerMethods inherited from interface io.github.mmm.value.observable.Expression
asString, dispose, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNullMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface io.github.mmm.marshall.MarshallableObject
writeObjectMethods inherited from interface io.github.mmm.value.observable.ObservableValue
toStringMethods inherited from interface io.github.mmm.value.PropertyPath
pathSegmentMethods inherited from interface io.github.mmm.property.comparable.ReadableComparableProperty
asc, descMethods inherited from interface io.github.mmm.value.ReadablePath
path, path, pathMethods inherited from interface io.github.mmm.property.ReadableProperty
count, eq, eq, getMetadata, getName, getQualifiedName, getQualifiedName, getTypeMapper, isEqual, isMandatory, isTransient, isValid, neq, neq, parentPathMethods inherited from interface io.github.mmm.property.object.ReadableSimpleProperty
in, in, notIn, notInMethods inherited from interface io.github.mmm.property.string.ReadableStringProperty
inverseLike, inverseNotLike, like, notLikeMethods inherited from interface io.github.mmm.value.observable.string.ReadableStringValue
getAsString, getFallbackSafeValue, getValue, getValueClassMethods inherited from interface io.github.mmm.value.ReadableValue
get, getSafeMethods inherited from interface io.github.mmm.value.observable.string.StringExpression
concat, isEmpty, isEqualToIgnoreCase, isEqualToIgnoreCase, isNotEmpty, isNotEqualToIgnoreCase, isNotEqualToIgnoreCase, lengthMethods inherited from interface io.github.mmm.marshall.UnmarshallableObject
read, readObjectMethods inherited from interface io.github.mmm.validation.Validatable
validate, validateOrThrowMethods inherited from interface io.github.mmm.value.observable.WritableObservableValue
bindOneWay, bindTwoWay, isBoundOneWay, unbindOneWay, unbindTwoWayMethods inherited from interface io.github.mmm.property.WritableProperty
copy, copyValue, getReadOnlyMethods inherited from interface io.github.mmm.value.observable.string.WritableStringValue
parse, setAsString, setValueMethods inherited from interface io.github.mmm.value.WritableValue
set
-
Constructor Details
-
Method Details
-
getCollection
- Overrides:
getCollectionin classStringCollectionProperty- Returns:
- the potential
Collectionto redundantly manage the elements efficiently ornullif all information is only maintained in theStringvalue. Please note thatbindingmay cause undesired effects if backed by aCollection.
-
getAsSet
- Returns:
- an
unmodifiableSetwith the elements from thevalue.
-