< prev index next >

src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlID.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 72,90 **** * public String getCustomerID(); * public void setCustomerID(String id); * .... other properties not shown * } * ! * &lt;!-- Example: XML Schema fragment --> ! * &lt;xs:complexType name="Customer"> ! * &lt;xs:complexContent> ! * &lt;xs:sequence> * .... ! * &lt;/xs:sequence> ! * &lt;xs:attribute name="customerID" type="xs:ID"/> ! * &lt;/xs:complexContent> ! * &lt;/xs:complexType> * </pre> * * @author Sekhar Vajjhala, Sun Microsystems, Inc. * @see XmlIDREF * @since 1.6, JAXB 2.0 --- 72,90 ---- * public String getCustomerID(); * public void setCustomerID(String id); * .... other properties not shown * } * ! * &lt;!-- Example: XML Schema fragment --&gt; ! * &lt;xs:complexType name="Customer"&gt; ! * &lt;xs:complexContent&gt; ! * &lt;xs:sequence&gt; * .... ! * &lt;/xs:sequence&gt; ! * &lt;xs:attribute name="customerID" type="xs:ID"/&gt; ! * &lt;/xs:complexContent&gt; ! * &lt;/xs:complexType&gt; * </pre> * * @author Sekhar Vajjhala, Sun Microsystems, Inc. * @see XmlIDREF * @since 1.6, JAXB 2.0
< prev index next >