Class Agent


  • public final class Agent
    extends Object
    Encapsulates information about agents, either individual persons or corporate bodies.
    • Method Detail

      • getAddress

        public String getAddress()
        Returns the value of the address property.
      • getEmail

        public String getEmail()
        Returns the value of the email property.
      • getFax

        public String getFax()
        Returns the value of the fax property.
      • getName

        public String getName()
        Returns the value of the name property.
      • getNote

        public String getNote()
        Returns the value of the note property.
      • getTelephone

        public String getTelephone()
        Returns the value of the telephone property.
      • getType

        public AgentType getType()
        Returns the value of the type property.
      • getWeb

        public String getWeb()
        Returns the value of the web property.
      • harvardInstance

        public static final Agent harvardInstance()
      • opfInstance

        public static final Agent opfInstance()
      • bnfInstance

        public static final Agent bnfInstance()
      • hashCode

        public int hashCode()
        { @inheritDoc }
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        { @inheritDoc }
        Overrides:
        equals in class Object
      • newW3CInstance

        public static final Agent newW3CInstance()
      • newIsoInstance

        public static final Agent newIsoInstance()
      • newAdobeInstance

        public static final Agent newAdobeInstance()