public int majorVersion() {
            return majorVersion;
        }
Returns the major version that deprecated this element
config-model-api/src/main/java/com/yahoo/config/application/api/DeploymentSpec.java