Skip to content

Commit 6b8efca

Browse files
committed
Added in new schemas and packages.
1 parent a3c5d4b commit 6b8efca

1,041 files changed

Lines changed: 145386 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pom.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,48 @@
44
<artifactId>cxml-api</artifactId>
55
<version>1.2.024</version>
66
<name>CXML API</name>
7+
8+
<build>
9+
<plugins>
10+
<!--
11+
<plugin>
12+
<groupId>org.jvnet.jaxb2.maven2</groupId>
13+
<artifactId>maven-jaxb2-plugin</artifactId>
14+
<executions>
15+
<execution>
16+
<goals>
17+
<goal>generate</goal>
18+
</goals>
19+
<configuration>
20+
<schemaDirectory>src/main/schemas</schemaDirectory>
21+
<extension>true</extension>
22+
<schemaLanguage>DTD</schemaLanguage>
23+
<schemaIncludes>
24+
<schemaInclude>InvoiceDetail.dtd</schemaInclude>
25+
</schemaIncludes>
26+
<bindingIncludes>
27+
<bindingInclude>*.jaxb</bindingInclude>
28+
</bindingIncludes>
29+
</configuration>
30+
</execution>
31+
</executions>
32+
<dependencies>
33+
<dependency>
34+
<groupId>org.jvnet.jaxb2-commons</groupId>
35+
<artifactId>property-listener-injector</artifactId>
36+
<version>1.0</version>
37+
</dependency>
38+
</dependencies>
39+
</plugin>
40+
-->
41+
</plugins>
42+
</build>
43+
<dependencies>
44+
<dependency>
45+
<groupId>com.sun.xml.bind</groupId>
46+
<artifactId>jaxb-impl</artifactId>
47+
<version>2.2.7</version>
48+
<scope>provided</scope>
49+
</dependency>
50+
</dependencies>
751
</project>
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
//
2+
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
3+
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4+
// Any modifications to this file will be lost upon recompilation of the source schema.
5+
// Generated on: 2013.08.06 at 12:45:09 AM EDT
6+
//
7+
8+
9+
package org.cxml.catalog;
10+
11+
import java.util.ArrayList;
12+
import java.util.List;
13+
import javax.xml.bind.annotation.XmlAccessType;
14+
import javax.xml.bind.annotation.XmlAccessorType;
15+
import javax.xml.bind.annotation.XmlAttribute;
16+
import javax.xml.bind.annotation.XmlElement;
17+
import javax.xml.bind.annotation.XmlElements;
18+
import javax.xml.bind.annotation.XmlRootElement;
19+
import javax.xml.bind.annotation.XmlType;
20+
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
21+
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
22+
23+
24+
/**
25+
*
26+
*/
27+
@XmlAccessorType(XmlAccessType.FIELD)
28+
@XmlType(name = "", propOrder = {
29+
"segmentOrAccountingSegment"
30+
})
31+
@XmlRootElement(name = "Accounting")
32+
public class Accounting {
33+
34+
@XmlAttribute(name = "name", required = true)
35+
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
36+
protected String name;
37+
@XmlElements({
38+
@XmlElement(name = "Segment", required = true, type = Segment.class),
39+
@XmlElement(name = "AccountingSegment", required = true, type = AccountingSegment.class)
40+
})
41+
protected List<Object> segmentOrAccountingSegment;
42+
43+
/**
44+
* Gets the value of the name property.
45+
*
46+
* @return
47+
* possible object is
48+
* {@link String }
49+
*
50+
*/
51+
public String getName() {
52+
return name;
53+
}
54+
55+
/**
56+
* Sets the value of the name property.
57+
*
58+
* @param value
59+
* allowed object is
60+
* {@link String }
61+
*
62+
*/
63+
public void setName(String value) {
64+
this.name = value;
65+
}
66+
67+
/**
68+
* Gets the value of the segmentOrAccountingSegment property.
69+
*
70+
* <p>
71+
* This accessor method returns a reference to the live list,
72+
* not a snapshot. Therefore any modification you make to the
73+
* returned list will be present inside the JAXB object.
74+
* This is why there is not a <CODE>set</CODE> method for the segmentOrAccountingSegment property.
75+
*
76+
* <p>
77+
* For example, to add a new item, do as follows:
78+
* <pre>
79+
* getSegmentOrAccountingSegment().add(newItem);
80+
* </pre>
81+
*
82+
*
83+
* <p>
84+
* Objects of the following type(s) are allowed in the list
85+
* {@link Segment }
86+
* {@link AccountingSegment }
87+
*
88+
*
89+
*/
90+
public List<Object> getSegmentOrAccountingSegment() {
91+
if (segmentOrAccountingSegment == null) {
92+
segmentOrAccountingSegment = new ArrayList<Object>();
93+
}
94+
return this.segmentOrAccountingSegment;
95+
}
96+
97+
}
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
//
2+
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
3+
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4+
// Any modifications to this file will be lost upon recompilation of the source schema.
5+
// Generated on: 2013.08.06 at 12:45:09 AM EDT
6+
//
7+
8+
9+
package org.cxml.catalog;
10+
11+
import javax.xml.bind.annotation.XmlAccessType;
12+
import javax.xml.bind.annotation.XmlAccessorType;
13+
import javax.xml.bind.annotation.XmlAttribute;
14+
import javax.xml.bind.annotation.XmlElement;
15+
import javax.xml.bind.annotation.XmlRootElement;
16+
import javax.xml.bind.annotation.XmlType;
17+
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
18+
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
19+
20+
21+
/**
22+
*
23+
*/
24+
@XmlAccessorType(XmlAccessType.FIELD)
25+
@XmlType(name = "", propOrder = {
26+
"name",
27+
"description"
28+
})
29+
@XmlRootElement(name = "AccountingSegment")
30+
public class AccountingSegment {
31+
32+
@XmlAttribute(name = "id", required = true)
33+
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
34+
protected String id;
35+
@XmlElement(name = "Name", required = true)
36+
protected Name name;
37+
@XmlElement(name = "Description", required = true)
38+
protected Description description;
39+
40+
/**
41+
* Gets the value of the id property.
42+
*
43+
* @return
44+
* possible object is
45+
* {@link String }
46+
*
47+
*/
48+
public String getId() {
49+
return id;
50+
}
51+
52+
/**
53+
* Sets the value of the id property.
54+
*
55+
* @param value
56+
* allowed object is
57+
* {@link String }
58+
*
59+
*/
60+
public void setId(String value) {
61+
this.id = value;
62+
}
63+
64+
/**
65+
* Gets the value of the name property.
66+
*
67+
* @return
68+
* possible object is
69+
* {@link Name }
70+
*
71+
*/
72+
public Name getName() {
73+
return name;
74+
}
75+
76+
/**
77+
* Sets the value of the name property.
78+
*
79+
* @param value
80+
* allowed object is
81+
* {@link Name }
82+
*
83+
*/
84+
public void setName(Name value) {
85+
this.name = value;
86+
}
87+
88+
/**
89+
* Gets the value of the description property.
90+
*
91+
* @return
92+
* possible object is
93+
* {@link Description }
94+
*
95+
*/
96+
public Description getDescription() {
97+
return description;
98+
}
99+
100+
/**
101+
* Sets the value of the description property.
102+
*
103+
* @param value
104+
* allowed object is
105+
* {@link Description }
106+
*
107+
*/
108+
public void setDescription(Description value) {
109+
this.description = value;
110+
}
111+
112+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
//
2+
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
3+
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4+
// Any modifications to this file will be lost upon recompilation of the source schema.
5+
// Generated on: 2013.08.06 at 12:45:09 AM EDT
6+
//
7+
8+
9+
package org.cxml.catalog;
10+
11+
import java.util.ArrayList;
12+
import java.util.List;
13+
import javax.xml.bind.annotation.XmlAccessType;
14+
import javax.xml.bind.annotation.XmlAccessorType;
15+
import javax.xml.bind.annotation.XmlElement;
16+
import javax.xml.bind.annotation.XmlElements;
17+
import javax.xml.bind.annotation.XmlRootElement;
18+
import javax.xml.bind.annotation.XmlType;
19+
20+
21+
/**
22+
*
23+
*/
24+
@XmlAccessorType(XmlAccessType.FIELD)
25+
@XmlType(name = "", propOrder = {
26+
"moneyOrPercentage"
27+
})
28+
@XmlRootElement(name = "AdditionalCost")
29+
public class AdditionalCost {
30+
31+
@XmlElements({
32+
@XmlElement(name = "Money", required = true, type = Money.class),
33+
@XmlElement(name = "Percentage", required = true, type = Percentage.class)
34+
})
35+
protected List<Object> moneyOrPercentage;
36+
37+
/**
38+
* Gets the value of the moneyOrPercentage property.
39+
*
40+
* <p>
41+
* This accessor method returns a reference to the live list,
42+
* not a snapshot. Therefore any modification you make to the
43+
* returned list will be present inside the JAXB object.
44+
* This is why there is not a <CODE>set</CODE> method for the moneyOrPercentage property.
45+
*
46+
* <p>
47+
* For example, to add a new item, do as follows:
48+
* <pre>
49+
* getMoneyOrPercentage().add(newItem);
50+
* </pre>
51+
*
52+
*
53+
* <p>
54+
* Objects of the following type(s) are allowed in the list
55+
* {@link Money }
56+
* {@link Percentage }
57+
*
58+
*
59+
*/
60+
public List<Object> getMoneyOrPercentage() {
61+
if (moneyOrPercentage == null) {
62+
moneyOrPercentage = new ArrayList<Object>();
63+
}
64+
return this.moneyOrPercentage;
65+
}
66+
67+
}

0 commit comments

Comments
 (0)