Class UsageName


  • public final class UsageName
    extends Object
    The Usage Names.
    • Constructor Detail

      • UsageName

        public UsageName()
    • Method Detail

      • localizedValue

        public String localizedValue()
        Get the localizedValue property: The localized name of the resource.
        Returns:
        the localizedValue value.
      • withLocalizedValue

        public UsageName withLocalizedValue​(String localizedValue)
        Set the localizedValue property: The localized name of the resource.
        Parameters:
        localizedValue - the localizedValue value to set.
        Returns:
        the UsageName object itself.
      • value

        public String value()
        Get the value property: The name of the resource.
        Returns:
        the value value.
      • withValue

        public UsageName withValue​(String value)
        Set the value property: The name of the resource.
        Parameters:
        value - the value value to set.
        Returns:
        the UsageName object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.