Class PropertyKey2<T>
java.lang.Object
org.jdrupes.builder.api.PropertyKey2<T>
- Type Parameters:
T- the generic type
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyKey2(Type type) Initializes a PropertyKey with the given type information.PropertyKey2(T defaultValue) Initializes a PropertyKey with the given default value. -
Method Summary
Modifier and TypeMethodDescriptionReturns the property's default value.type()Returns the property's type.
-
Constructor Details
-
PropertyKey2
Initializes a PropertyKey with the given default value. The type information is obtained from the value.- Parameters:
defaultValue- the default value
-
PropertyKey2
Initializes a PropertyKey with the given type information. The default value is set tonull.- Parameters:
type- the type
-
-
Method Details
-
type
-
defaultValue
-