Package com.io7m.smfj.validation.api
Interface SMFSchemaVersionType
-
- All Superinterfaces:
java.lang.Comparable<SMFSchemaVersionType>
- All Known Implementing Classes:
SMFSchemaVersion
@Immutable public interface SMFSchemaVersionType extends java.lang.Comparable<SMFSchemaVersionType>
A schema version. This refers to the version of the schema language, not a specific schema.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
compareTo(SMFSchemaVersionType o)
int
major()
int
minor()
-
-
-
Method Detail
-
major
@Parameter int major()
- Returns:
- The major number for a format
-
minor
@Parameter int minor()
- Returns:
- The minor number for a format
-
compareTo
default int compareTo(SMFSchemaVersionType o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<SMFSchemaVersionType>
-
-