Package com.io7m.smfj.validation.api
Interface SMFSchemaAttributeType
-
- All Known Implementing Classes:
SMFSchemaAttribute
@Immutable public interface SMFSchemaAttributeType
A schema for a specific attribute.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SMFAttributeName
name()
java.util.OptionalInt
requiredComponentCount()
java.util.OptionalInt
requiredComponentSize()
java.util.Optional<SMFComponentType>
requiredComponentType()
-
-
-
Method Detail
-
name
@Parameter SMFAttributeName name()
- Returns:
- The name of the attribute
-
requiredComponentType
@Parameter java.util.Optional<SMFComponentType> requiredComponentType()
- Returns:
- The required component type, if any
-
requiredComponentCount
@Parameter java.util.OptionalInt requiredComponentCount()
- Returns:
- The required component count, if any
-
requiredComponentSize
@Parameter java.util.OptionalInt requiredComponentSize()
- Returns:
- The required component size in bits, if any
-
-