Class CodeWithAuthority

    • Constructor Detail

      • CodeWithAuthority

        public CodeWithAuthority​(String value)
        constructor
        Parameters:
        value - Value/identifier
      • CodeWithAuthority

        public CodeWithAuthority​(String value,
                                 String codeSpace)
        constructor
        Parameters:
        value - Value/identifier
        codeSpace - Code space
      • CodeWithAuthority

        protected CodeWithAuthority()
    • Method Detail

      • getValue

        public String getValue()
        Get value
        Returns:
        Value
      • getCodeSpace

        public String getCodeSpace()
        Get code space
        Returns:
        Code space
      • setValue

        public CodeWithAuthority setValue​(String value)
        Set value and return this CodeWithAuthority object
        Parameters:
        value - Value to set
        Returns:
        This CodeWithAuthority object
      • setCodeSpace

        public CodeWithAuthority setCodeSpace​(String codeSpace)
        Set code space and return this CodeWithAuthority object
        Parameters:
        codeSpace - Code space to set
        Returns:
        This CodeWithAuthority object
      • isSetValue

        public boolean isSetValue()
        Check whether value is set
        Returns:
        true if value is set
      • isSetCodeSpace

        public boolean isSetCodeSpace()
        Check whether code space is set
        Returns:
        true if code space is set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object