Class Credential.Usages

  • Enclosing class:
    Credential

    public static class Credential.Usages
    extends java.lang.Object

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="usage" type="{http://certificateservices.org/xsd/pkimessages1_0}CredentialUsage" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> usage  
    • Constructor Summary

      Constructors 
      Constructor Description
      Usages()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getUsage()
      Gets the value of the usage property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • usage

        protected java.util.List<java.lang.String> usage
    • Constructor Detail

      • Usages

        public Usages()
    • Method Detail

      • getUsage

        public java.util.List<java.lang.String> getUsage()
        Gets the value of the usage 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 usage property.

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

            getUsage().add(newItem);
         

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