Class MapKey


  • public class MapKey
    extends Object
    Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface MapKey { String name() default ""; }

    Java class for map-key complex type.

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

     <complexType name="map-key">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

    • Constructor Detail

      • MapKey

        public MapKey()
    • Method Detail

      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String