| Package | Description |
|---|---|
| com.io7m.smfj.validation.api |
Validation API.
|
| Modifier and Type | Method and Description |
|---|---|
SMFSchemaAttribute |
SMFSchemaAttribute.Builder.build()
Builds a new
SMFSchemaAttribute. |
static SMFSchemaAttribute |
SMFSchemaAttribute.copyOf(SMFSchemaAttributeType instance)
Creates an immutable copy of a
SMFSchemaAttributeType value. |
static SMFSchemaAttribute |
SMFSchemaAttribute.of(SMFAttributeName name,
Optional<SMFComponentType> requiredComponentType,
OptionalInt requiredComponentCount,
OptionalInt requiredComponentSize)
Construct a new immutable
SMFSchemaAttribute instance. |
SMFSchemaAttribute |
SMFSchemaAttribute.withName(SMFAttributeName value)
Copy the current immutable object by setting a value for the
name attribute. |
SMFSchemaAttribute |
SMFSchemaAttribute.withRequiredComponentCount(int value)
Copy the current immutable object by setting a present value for the optional
requiredComponentCount attribute. |
SMFSchemaAttribute |
SMFSchemaAttribute.withRequiredComponentCount(OptionalInt optional)
Copy the current immutable object by setting an optional value for the
requiredComponentCount attribute. |
SMFSchemaAttribute |
SMFSchemaAttribute.withRequiredComponentSize(int value)
Copy the current immutable object by setting a present value for the optional
requiredComponentSize attribute. |
SMFSchemaAttribute |
SMFSchemaAttribute.withRequiredComponentSize(OptionalInt optional)
Copy the current immutable object by setting an optional value for the
requiredComponentSize attribute. |
SMFSchemaAttribute |
SMFSchemaAttribute.withRequiredComponentType(Optional<? extends SMFComponentType> optional)
Copy the current immutable object by setting an optional value for the
requiredComponentType attribute. |
SMFSchemaAttribute |
SMFSchemaAttribute.withRequiredComponentType(SMFComponentType value)
Copy the current immutable object by setting a present value for the optional
requiredComponentType attribute. |
| Modifier and Type | Method and Description |
|---|---|
javaslang.collection.SortedMap<SMFAttributeName,SMFSchemaAttribute> |
SMFSchemaType.optionalAttributes()
A schema may define optional attributes.
|
javaslang.collection.SortedMap<SMFAttributeName,SMFSchemaAttribute> |
SMFSchema.optionalAttributes()
A schema may define optional attributes.
|
javaslang.collection.SortedMap<SMFAttributeName,SMFSchemaAttribute> |
SMFSchemaType.requiredAttributes()
A schema may define required attributes.
|
javaslang.collection.SortedMap<SMFAttributeName,SMFSchemaAttribute> |
SMFSchema.requiredAttributes()
A schema may define required attributes.
|
| Modifier and Type | Method and Description |
|---|---|
SMFSchema.Builder |
SMFSchema.Builder.putOptionalAttributes(SMFAttributeName key,
SMFSchemaAttribute value) |
SMFSchema.Builder |
SMFSchema.Builder.putRequiredAttributes(SMFAttributeName key,
SMFSchemaAttribute value) |
Copyright © 2017 <code@io7m.com> http://io7m.com