/** * @return The major number for a format */ @Override public final int major() { if (!majorIsSet()) { checkRequiredAttributes(); } return major; }
private String formatRequiredAttributesMessage() { List<String> attributes = new ArrayList<String>(); if (!majorIsSet()) attributes.add("major"); if (!minorIsSet()) attributes.add("minor"); return "SMFFormatVersion in not initialized, some of the required attributes are not set " + attributes; }
private String formatRequiredAttributesMessage() { List<String> attributes = new ArrayList<String>(); if (!majorIsSet()) attributes.add("major"); if (!minorIsSet()) attributes.add("minor"); return "SMFFormatVersion in not initialized, some of the required attributes are not set " + attributes; }
/** * @return The major number for a format */ @Override public final int major() { if (!majorIsSet()) { checkRequiredAttributes(); } return major; }
/** * Generates a string representation of this {@code SMFFormatVersionType}. * If uninitialized, some attribute values may appear as question marks. * @return A string representation */ @Override public String toString() { return "SMFFormatVersionMutable{" + "major=" + (majorIsSet() ? major() : "?") + ", minor=" + (minorIsSet() ? minor() : "?") + "}"; } }
/** * Generates a string representation of this {@code SMFFormatVersionType}. * If uninitialized, some attribute values may appear as question marks. * @return A string representation */ @Override public String toString() { return "SMFFormatVersionMutable{" + "major=" + (majorIsSet() ? major() : "?") + ", minor=" + (minorIsSet() ? minor() : "?") + "}"; } }