org.jboss.xb.annotations
Annotation Type JBossXmlMapKey


@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface JBossXmlMapKey

A JBossXmlMapKey. Specifies which property in the entry class represents the entry's key. There must be only one property in the entry class annotated with JBossXmlMapKey. Note: this annotation doesn't bind Java element to XML schema construct directly but just signifies which property should be used as the map entry's key property. The standard JAXB/JBossXB annotations should be used for binding the property to the XML schema construct.

Version:
$Revision: 1.1 $
Author:
Alexey Loubyansky



Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.