Class ContributorType

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class ContributorType
    extends Code
    • Field Detail

      • AUTHOR

        public static final ContributorType AUTHOR
        Author

        An author of the content of the module.

      • EDITOR

        public static final ContributorType EDITOR
        Editor

        An editor of the content of the module.

      • REVIEWER

        public static final ContributorType REVIEWER
        Reviewer

        A reviewer of the content of the module.

      • ENDORSER

        public static final ContributorType ENDORSER
        Endorser

        An endorser of the content of the module.

    • Method Detail

      • of

        public static ContributorType of​(String value)
        Factory method for creating ContributorType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating ContributorType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating ContributorType objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code