Class AccountMap

  • All Implemented Interfaces:
    Equals, HashCode, ToString

    public class AccountMap
    extends Object
    implements Equals, HashCode, ToString

    Java class for AccountMap complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="AccountMap">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="account" type="{http://openprovenance.org/model/opmPrinterConfig}AccountColorMapEntry" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="defaultAccount" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="defaultColor" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • AccountMap

        public AccountMap()
    • Method Detail

      • getAccount

        public List<AccountColorMapEntry> getAccount()
        Gets the value of the account property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the account property.

        For example, to add a new item, do as follows:

            getAccount().add(newItem);
         

        Objects of the following type(s) are allowed in the list AccountColorMapEntry

      • getDefaultAccount

        public String getDefaultAccount()
        Gets the value of the defaultAccount property.
        Returns:
        possible object is String
      • setDefaultAccount

        public void setDefaultAccount​(String value)
        Sets the value of the defaultAccount property.
        Parameters:
        value - allowed object is String
      • getDefaultColor

        public String getDefaultColor()
        Gets the value of the defaultColor property.
        Returns:
        possible object is String
      • setDefaultColor

        public void setDefaultColor​(String value)
        Sets the value of the defaultColor property.
        Parameters:
        value - allowed object is String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object