Module org.jhotdraw8.fxcollection
Class TransientKey<T>
java.lang.Object
org.jhotdraw8.fxcollection.typesafekey.AbstractKey<T>
org.jhotdraw8.fxcollection.typesafekey.TransientKey<T>
- Type Parameters:
T- the value type
- All Implemented Interfaces:
Serializable,Key<T>,MapAccessor<T>,NullableKey<T>
TransientKey can be used to store temporary data in an object.
- Author:
- Werner Randelshofer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the value needs to be made persistent.Methods inherited from class org.jhotdraw8.fxcollection.typesafekey.AbstractKey
getDefaultValue, getName, getValueType, isNullable, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.Key
cast, containsKey, getValue, getValueProperty, isAssignable, isDefault, isNullable, propertyAt, put, put, putValue, readOnlyPropertyAt, remove, remove, valueAtMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.MapAccessor
getDefaultValue, getName, getRawValueType, getValueType, setMethods inherited from interface org.jhotdraw8.fxcollection.typesafekey.NullableKey
get, get
-
Constructor Details
-
TransientKey
-
TransientKey
-
TransientKey
-
-
Method Details
-
isTransient
public boolean isTransient()Description copied from interface:MapAccessorWhether the value needs to be made persistent.- Specified by:
isTransientin interfaceMapAccessor<T>- Overrides:
isTransientin classAbstractKey<T>- Returns:
- true if transient
-