< 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
* }
*
! * <!-- Example: XML Schema fragment -->
! * <xs:complexType name="Customer">
! * <xs:complexContent>
! * <xs:sequence>
* ....
! * </xs:sequence>
! * <xs:attribute name="customerID" type="xs:ID"/>
! * </xs:complexContent>
! * </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
* }
*
! * <!-- Example: XML Schema fragment -->
! * <xs:complexType name="Customer">
! * <xs:complexContent>
! * <xs:sequence>
* ....
! * </xs:sequence>
! * <xs:attribute name="customerID" type="xs:ID"/>
! * </xs:complexContent>
! * </xs:complexType>
* </pre>
*
* @author Sekhar Vajjhala, Sun Microsystems, Inc.
* @see XmlIDREF
* @since 1.6, JAXB 2.0
< prev index next >