public class AtomicValueType<V> extends Object implements PrimitiveType<AtomicValueBuilder<V>,AtomicValueConfig,AtomicValue<V>>
| Constructor and Description |
|---|
AtomicValueType() |
| Modifier and Type | Method and Description |
|---|---|
static <V> AtomicValueType<V> |
instance()
Returns a new value type.
|
String |
name()
Returns the object name.
|
AtomicValueBuilder<V> |
newBuilder(String name,
AtomicValueConfig config,
PrimitiveManagementService managementService)
Returns a new primitive builder.
|
AtomicValueConfig |
newConfig()
Returns a new instance of the primitive configuration.
|
PrimitiveResource |
newResource(AtomicValue<V> primitive)
Creates a new resource for the given primitive.
|
PrimitiveService |
newService(ServiceConfig config)
Creates a new service instance from the given configuration.
|
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitnamespacepublic static <V> AtomicValueType<V> instance()
V - the value value typepublic PrimitiveService newService(ServiceConfig config)
PrimitiveTypenewService in interface PrimitiveType<AtomicValueBuilder<V>,AtomicValueConfig,AtomicValue<V>>config - the service configurationpublic PrimitiveResource newResource(AtomicValue<V> primitive)
PrimitiveTypenewResource in interface PrimitiveType<AtomicValueBuilder<V>,AtomicValueConfig,AtomicValue<V>>primitive - the primitive instancepublic AtomicValueConfig newConfig()
PrimitiveTypenewConfig in interface PrimitiveType<AtomicValueBuilder<V>,AtomicValueConfig,AtomicValue<V>>newConfig in interface ConfiguredType<AtomicValueConfig>public AtomicValueBuilder<V> newBuilder(String name, AtomicValueConfig config, PrimitiveManagementService managementService)
PrimitiveTypenewBuilder in interface PrimitiveType<AtomicValueBuilder<V>,AtomicValueConfig,AtomicValue<V>>name - the primitive nameconfig - the primitive configurationmanagementService - the primitive management serviceCopyright © 2013–2018. All rights reserved.