/projects/geotools-9.2/modules/extension/xsd/xsd-gml3/src/main/java/org/geotools/gml3/v3_2/gco/GCOSchema.java

https://gitlab.com/essere.lab.public/qualitas.class-corpus · Java · 1284 lines · 782 code · 52 blank · 450 comment · 0 complexity · 082e7a681b85cd81a2e64d10df1f159c MD5 · raw file

  1. package org.geotools.gml3.v3_2.gco;
  2. import java.util.ArrayList;
  3. import java.util.Collection;
  4. import java.util.List;
  5. import java.util.TreeMap;
  6. import org.geotools.feature.NameImpl;
  7. import org.geotools.feature.type.AbstractLazyAttributeTypeImpl;
  8. import org.geotools.feature.type.AbstractLazyComplexTypeImpl;
  9. import org.geotools.feature.type.AttributeDescriptorImpl;
  10. import org.geotools.feature.type.SchemaImpl;
  11. import org.geotools.gml3.v3_2.GMLSchema;
  12. import org.geotools.xlink.XLINKSchema;
  13. import org.geotools.xs.XSSchema;
  14. import org.opengis.feature.type.AttributeType;
  15. import org.opengis.feature.type.ComplexType;
  16. import org.opengis.feature.type.Name;
  17. import org.opengis.feature.type.PropertyDescriptor;
  18. import org.opengis.feature.type.Schema;
  19. /**
  20. *
  21. *
  22. * @source $URL$
  23. */
  24. public class GCOSchema extends SchemaImpl {
  25. /**
  26. * <p>
  27. * <pre>
  28. * <code>
  29. * &lt;xs:complexType abstract="true" name="AbstractObject_Type"&gt;
  30. * &lt;xs:sequence/&gt;
  31. * &lt;xs:attributeGroup ref="gco:ObjectIdentification"/&gt;
  32. * &lt;/xs:complexType&gt;
  33. *
  34. * </code>
  35. * </pre>
  36. * </p>
  37. *
  38. * @generated
  39. */
  40. public static final ComplexType ABSTRACTOBJECT_TYPE_TYPE = build_ABSTRACTOBJECT_TYPE_TYPE();
  41. private static ComplexType build_ABSTRACTOBJECT_TYPE_TYPE() {
  42. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  43. new NameImpl("http://www.isotc211.org/2005/gco","AbstractObject_Type"),
  44. false, true, null, null) {
  45. @Override
  46. public AttributeType buildSuper() {
  47. return XSSchema.ANYTYPE_TYPE;
  48. }
  49. @Override
  50. public Collection<PropertyDescriptor> buildDescriptors() {
  51. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  52. descriptors.add(
  53. new AttributeDescriptorImpl(
  54. XSSchema.ID_TYPE,
  55. new NameImpl("id"),
  56. 0, 1, true, null));
  57. descriptors.add(
  58. new AttributeDescriptorImpl(
  59. XSSchema.STRING_TYPE,
  60. new NameImpl("uuid"),
  61. 0, 1, true, null));
  62. return descriptors;
  63. }
  64. };
  65. return builtType;
  66. }
  67. /**
  68. * <p>
  69. * <pre>
  70. * <code>
  71. * &lt;xs:complexType name="Angle_PropertyType"&gt;
  72. * &lt;xs:sequence minOccurs="0"&gt;
  73. * &lt;xs:element ref="gco:Angle"/&gt;
  74. * &lt;/xs:sequence&gt;
  75. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  76. * &lt;/xs:complexType&gt;
  77. *
  78. * </code>
  79. * </pre>
  80. * </p>
  81. *
  82. * @generated
  83. */
  84. public static final ComplexType ANGLE_PROPERTYTYPE_TYPE = build_ANGLE_PROPERTYTYPE_TYPE();
  85. private static ComplexType build_ANGLE_PROPERTYTYPE_TYPE() {
  86. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  87. new NameImpl("http://www.isotc211.org/2005/gco","Angle_PropertyType"),
  88. false, false, null, null) {
  89. @Override
  90. public AttributeType buildSuper() {
  91. return XSSchema.ANYTYPE_TYPE;
  92. }
  93. @Override
  94. public Collection<PropertyDescriptor> buildDescriptors() {
  95. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  96. descriptors.add(
  97. new AttributeDescriptorImpl(
  98. GMLSchema.ANGLETYPE_TYPE,
  99. new NameImpl("http://www.isotc211.org/2005/gco","Angle"),
  100. 1, 1, false, null));
  101. descriptors.add(
  102. new AttributeDescriptorImpl(
  103. GMLSchema.NILREASONTYPE_TYPE,
  104. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  105. 0, 1, true, null));
  106. return descriptors;
  107. }
  108. };
  109. return builtType;
  110. }
  111. /**
  112. * <p>
  113. * <pre>
  114. * <code>
  115. * &lt;xs:complexType name="Binary_PropertyType"&gt;
  116. * &lt;xs:sequence minOccurs="0"&gt;
  117. * &lt;xs:element ref="gco:Binary"/&gt;
  118. * &lt;/xs:sequence&gt;
  119. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  120. * &lt;/xs:complexType&gt;
  121. *
  122. * </code>
  123. * </pre>
  124. * </p>
  125. *
  126. * @generated
  127. */
  128. public static final ComplexType BINARY_PROPERTYTYPE_TYPE = build_BINARY_PROPERTYTYPE_TYPE();
  129. private static ComplexType build_BINARY_PROPERTYTYPE_TYPE() {
  130. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  131. new NameImpl("http://www.isotc211.org/2005/gco","Binary_PropertyType"),
  132. false, false, null, null) {
  133. @Override
  134. public AttributeType buildSuper() {
  135. return XSSchema.ANYTYPE_TYPE;
  136. }
  137. @Override
  138. public Collection<PropertyDescriptor> buildDescriptors() {
  139. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  140. descriptors.add(
  141. new AttributeDescriptorImpl(
  142. BINARY_TYPE_TYPE,
  143. new NameImpl("http://www.isotc211.org/2005/gco","Binary"),
  144. 1, 1, false, null));
  145. descriptors.add(
  146. new AttributeDescriptorImpl(
  147. GMLSchema.NILREASONTYPE_TYPE,
  148. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  149. 0, 1, true, null));
  150. return descriptors;
  151. }
  152. };
  153. return builtType;
  154. }
  155. /**
  156. * <p>
  157. * <pre>
  158. * <code>
  159. * &lt;xs:complexType name="Binary_Type"&gt;
  160. * &lt;xs:simpleContent&gt;
  161. * &lt;xs:extension base="xs:string"&gt;
  162. * &lt;xs:attribute name="src" type="xs:anyURI"/&gt;
  163. * &lt;/xs:extension&gt;
  164. * &lt;/xs:simpleContent&gt;
  165. * &lt;/xs:complexType&gt;
  166. *
  167. * </code>
  168. * </pre>
  169. * </p>
  170. *
  171. * @generated
  172. */
  173. public static final ComplexType BINARY_TYPE_TYPE = build_BINARY_TYPE_TYPE();
  174. private static ComplexType build_BINARY_TYPE_TYPE() {
  175. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  176. new NameImpl("http://www.isotc211.org/2005/gco","Binary_Type"),
  177. false, false, null, null) {
  178. @Override
  179. public AttributeType buildSuper() {
  180. return XSSchema.STRING_TYPE;
  181. }
  182. @Override
  183. public Collection<PropertyDescriptor> buildDescriptors() {
  184. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  185. descriptors.add(
  186. new AttributeDescriptorImpl(
  187. XSSchema.ANYURI_TYPE,
  188. new NameImpl("src"),
  189. 0, 1, true, null));
  190. return descriptors;
  191. }
  192. };
  193. return builtType;
  194. }
  195. /**
  196. * <p>
  197. * <pre>
  198. * <code>
  199. * &lt;xs:complexType name="Boolean_PropertyType"&gt;
  200. * &lt;xs:sequence minOccurs="0"&gt;
  201. * &lt;xs:element ref="gco:Boolean"/&gt;
  202. * &lt;/xs:sequence&gt;
  203. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  204. * &lt;/xs:complexType&gt;
  205. *
  206. * </code>
  207. * </pre>
  208. * </p>
  209. *
  210. * @generated
  211. */
  212. public static final ComplexType BOOLEAN_PROPERTYTYPE_TYPE = build_BOOLEAN_PROPERTYTYPE_TYPE();
  213. private static ComplexType build_BOOLEAN_PROPERTYTYPE_TYPE() {
  214. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  215. new NameImpl("http://www.isotc211.org/2005/gco","Boolean_PropertyType"),
  216. false, false, null, null) {
  217. @Override
  218. public AttributeType buildSuper() {
  219. return XSSchema.ANYTYPE_TYPE;
  220. }
  221. @Override
  222. public Collection<PropertyDescriptor> buildDescriptors() {
  223. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  224. descriptors.add(
  225. new AttributeDescriptorImpl(
  226. XSSchema.BOOLEAN_TYPE,
  227. new NameImpl("http://www.isotc211.org/2005/gco","Boolean"),
  228. 1, 1, false, null));
  229. descriptors.add(
  230. new AttributeDescriptorImpl(
  231. GMLSchema.NILREASONTYPE_TYPE,
  232. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  233. 0, 1, true, null));
  234. return descriptors;
  235. }
  236. };
  237. return builtType;
  238. }
  239. /**
  240. * <p>
  241. * <pre>
  242. * <code>
  243. * &lt;xs:complexType name="CharacterString_PropertyType"&gt;
  244. * &lt;xs:sequence minOccurs="0"&gt;
  245. * &lt;xs:element ref="gco:CharacterString"/&gt;
  246. * &lt;/xs:sequence&gt;
  247. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  248. * &lt;/xs:complexType&gt;
  249. *
  250. * </code>
  251. * </pre>
  252. * </p>
  253. *
  254. * @generated
  255. */
  256. public static final ComplexType CHARACTERSTRING_PROPERTYTYPE_TYPE = build_CHARACTERSTRING_PROPERTYTYPE_TYPE();
  257. private static ComplexType build_CHARACTERSTRING_PROPERTYTYPE_TYPE() {
  258. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  259. new NameImpl("http://www.isotc211.org/2005/gco","CharacterString_PropertyType"),
  260. false, false, null, null) {
  261. @Override
  262. public AttributeType buildSuper() {
  263. return XSSchema.ANYTYPE_TYPE;
  264. }
  265. @Override
  266. public Collection<PropertyDescriptor> buildDescriptors() {
  267. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  268. descriptors.add(
  269. new AttributeDescriptorImpl(
  270. XSSchema.STRING_TYPE,
  271. new NameImpl("http://www.isotc211.org/2005/gco","CharacterString"),
  272. 1, 1, false, null));
  273. descriptors.add(
  274. new AttributeDescriptorImpl(
  275. GMLSchema.NILREASONTYPE_TYPE,
  276. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  277. 0, 1, true, null));
  278. return descriptors;
  279. }
  280. };
  281. return builtType;
  282. }
  283. /**
  284. * <p>
  285. * <pre>
  286. * <code>
  287. * &lt;xs:complexType name="CodeListValue_Type"&gt;
  288. * &lt;xs:simpleContent&gt;
  289. * &lt;xs:extension base="xs:string"&gt;
  290. * &lt;xs:attribute name="codeList" type="xs:anyURI" use="required"/&gt;
  291. * &lt;xs:attribute name="codeListValue" type="xs:anyURI" use="required"/&gt;
  292. * &lt;xs:attribute name="codeSpace" type="xs:anyURI"/&gt;
  293. * &lt;/xs:extension&gt;
  294. * &lt;/xs:simpleContent&gt;
  295. * &lt;/xs:complexType&gt;
  296. *
  297. * </code>
  298. * </pre>
  299. * </p>
  300. *
  301. * @generated
  302. */
  303. public static final ComplexType CODELISTVALUE_TYPE_TYPE = build_CODELISTVALUE_TYPE_TYPE();
  304. private static ComplexType build_CODELISTVALUE_TYPE_TYPE() {
  305. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  306. new NameImpl("http://www.isotc211.org/2005/gco","CodeListValue_Type"),
  307. false, false, null, null) {
  308. @Override
  309. public AttributeType buildSuper() {
  310. return XSSchema.STRING_TYPE;
  311. }
  312. @Override
  313. public Collection<PropertyDescriptor> buildDescriptors() {
  314. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  315. descriptors.add(
  316. new AttributeDescriptorImpl(
  317. XSSchema.ANYURI_TYPE,
  318. new NameImpl("codeList"),
  319. 0, 1, true, null));
  320. descriptors.add(
  321. new AttributeDescriptorImpl(
  322. XSSchema.ANYURI_TYPE,
  323. new NameImpl("codeListValue"),
  324. 0, 1, true, null));
  325. descriptors.add(
  326. new AttributeDescriptorImpl(
  327. XSSchema.ANYURI_TYPE,
  328. new NameImpl("codeSpace"),
  329. 0, 1, true, null));
  330. return descriptors;
  331. }
  332. };
  333. return builtType;
  334. }
  335. /**
  336. * <p>
  337. * <pre>
  338. * <code>
  339. * &lt;xs:complexType name="DateTime_PropertyType"&gt;
  340. * &lt;xs:sequence minOccurs="0"&gt;
  341. * &lt;xs:element ref="gco:DateTime"/&gt;
  342. * &lt;/xs:sequence&gt;
  343. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  344. * &lt;/xs:complexType&gt;
  345. *
  346. * </code>
  347. * </pre>
  348. * </p>
  349. *
  350. * @generated
  351. */
  352. public static final ComplexType DATETIME_PROPERTYTYPE_TYPE = build_DATETIME_PROPERTYTYPE_TYPE();
  353. private static ComplexType build_DATETIME_PROPERTYTYPE_TYPE() {
  354. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  355. new NameImpl("http://www.isotc211.org/2005/gco","DateTime_PropertyType"),
  356. false, false, null, null) {
  357. @Override
  358. public AttributeType buildSuper() {
  359. return XSSchema.ANYTYPE_TYPE;
  360. }
  361. @Override
  362. public Collection<PropertyDescriptor> buildDescriptors() {
  363. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  364. descriptors.add(
  365. new AttributeDescriptorImpl(
  366. XSSchema.DATETIME_TYPE,
  367. new NameImpl("http://www.isotc211.org/2005/gco","DateTime"),
  368. 1, 1, false, null));
  369. descriptors.add(
  370. new AttributeDescriptorImpl(
  371. GMLSchema.NILREASONTYPE_TYPE,
  372. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  373. 0, 1, true, null));
  374. return descriptors;
  375. }
  376. };
  377. return builtType;
  378. }
  379. /**
  380. * <p>
  381. * <pre>
  382. * <code>
  383. * &lt;xs:complexType name="Date_PropertyType"&gt;
  384. * &lt;xs:choice minOccurs="0"&gt;
  385. * &lt;xs:element ref="gco:Date"/&gt;
  386. * &lt;xs:element ref="gco:DateTime"/&gt;
  387. * &lt;/xs:choice&gt;
  388. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  389. * &lt;/xs:complexType&gt;
  390. *
  391. * </code>
  392. * </pre>
  393. * </p>
  394. *
  395. * @generated
  396. */
  397. public static final ComplexType DATE_PROPERTYTYPE_TYPE = build_DATE_PROPERTYTYPE_TYPE();
  398. private static ComplexType build_DATE_PROPERTYTYPE_TYPE() {
  399. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  400. new NameImpl("http://www.isotc211.org/2005/gco","Date_PropertyType"),
  401. false, false, null, null) {
  402. @Override
  403. public AttributeType buildSuper() {
  404. return XSSchema.ANYTYPE_TYPE;
  405. }
  406. @Override
  407. public Collection<PropertyDescriptor> buildDescriptors() {
  408. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  409. descriptors.add(
  410. new AttributeDescriptorImpl(
  411. DATE_TYPE_TYPE,
  412. new NameImpl("http://www.isotc211.org/2005/gco","Date"),
  413. 1, 1, true, null));
  414. descriptors.add(
  415. new AttributeDescriptorImpl(
  416. XSSchema.DATETIME_TYPE,
  417. new NameImpl("http://www.isotc211.org/2005/gco","DateTime"),
  418. 1, 1, false, null));
  419. descriptors.add(
  420. new AttributeDescriptorImpl(
  421. GMLSchema.NILREASONTYPE_TYPE,
  422. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  423. 0, 1, true, null));
  424. return descriptors;
  425. }
  426. };
  427. return builtType;
  428. }
  429. /**
  430. * <p>
  431. * <pre>
  432. * <code>
  433. * &lt;xs:simpleType name="Date_Type"&gt;
  434. * &lt;xs:union memberTypes="xs:date xs:gYearMonth xs:gYear"/&gt;
  435. * &lt;/xs:simpleType&gt;
  436. *
  437. * </code>
  438. * </pre>
  439. * </p>
  440. *
  441. * @generated
  442. */
  443. public static final AttributeType DATE_TYPE_TYPE = build_DATE_TYPE_TYPE();
  444. private static AttributeType build_DATE_TYPE_TYPE() {
  445. AttributeType builtType = new AbstractLazyAttributeTypeImpl(
  446. new NameImpl("http://www.isotc211.org/2005/gco","Date_Type"),
  447. java.lang.Object.class, false, false, null, null) {
  448. @Override
  449. public AttributeType buildSuper() {
  450. return XSSchema.ANYSIMPLETYPE_TYPE;
  451. }
  452. };
  453. return builtType;
  454. }
  455. /**
  456. * <p>
  457. * <pre>
  458. * <code>
  459. * &lt;xs:complexType name="Decimal_PropertyType"&gt;
  460. * &lt;xs:sequence minOccurs="0"&gt;
  461. * &lt;xs:element ref="gco:Decimal"/&gt;
  462. * &lt;/xs:sequence&gt;
  463. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  464. * &lt;/xs:complexType&gt;
  465. *
  466. * </code>
  467. * </pre>
  468. * </p>
  469. *
  470. * @generated
  471. */
  472. public static final ComplexType DECIMAL_PROPERTYTYPE_TYPE = build_DECIMAL_PROPERTYTYPE_TYPE();
  473. private static ComplexType build_DECIMAL_PROPERTYTYPE_TYPE() {
  474. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  475. new NameImpl("http://www.isotc211.org/2005/gco","Decimal_PropertyType"),
  476. false, false, null, null) {
  477. @Override
  478. public AttributeType buildSuper() {
  479. return XSSchema.ANYTYPE_TYPE;
  480. }
  481. @Override
  482. public Collection<PropertyDescriptor> buildDescriptors() {
  483. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  484. descriptors.add(
  485. new AttributeDescriptorImpl(
  486. XSSchema.DECIMAL_TYPE,
  487. new NameImpl("http://www.isotc211.org/2005/gco","Decimal"),
  488. 1, 1, false, null));
  489. descriptors.add(
  490. new AttributeDescriptorImpl(
  491. GMLSchema.NILREASONTYPE_TYPE,
  492. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  493. 0, 1, true, null));
  494. return descriptors;
  495. }
  496. };
  497. return builtType;
  498. }
  499. /**
  500. * <p>
  501. * <pre>
  502. * <code>
  503. * &lt;xs:complexType name="Distance_PropertyType"&gt;
  504. * &lt;xs:sequence minOccurs="0"&gt;
  505. * &lt;xs:element ref="gco:Distance"/&gt;
  506. * &lt;/xs:sequence&gt;
  507. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  508. * &lt;/xs:complexType&gt;
  509. *
  510. * </code>
  511. * </pre>
  512. * </p>
  513. *
  514. * @generated
  515. */
  516. public static final ComplexType DISTANCE_PROPERTYTYPE_TYPE = build_DISTANCE_PROPERTYTYPE_TYPE();
  517. private static ComplexType build_DISTANCE_PROPERTYTYPE_TYPE() {
  518. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  519. new NameImpl("http://www.isotc211.org/2005/gco","Distance_PropertyType"),
  520. false, false, null, null) {
  521. @Override
  522. public AttributeType buildSuper() {
  523. return XSSchema.ANYTYPE_TYPE;
  524. }
  525. @Override
  526. public Collection<PropertyDescriptor> buildDescriptors() {
  527. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  528. descriptors.add(
  529. new AttributeDescriptorImpl(
  530. GMLSchema.LENGTHTYPE_TYPE,
  531. new NameImpl("http://www.isotc211.org/2005/gco","Distance"),
  532. 1, 1, false, null));
  533. descriptors.add(
  534. new AttributeDescriptorImpl(
  535. GMLSchema.NILREASONTYPE_TYPE,
  536. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  537. 0, 1, true, null));
  538. return descriptors;
  539. }
  540. };
  541. return builtType;
  542. }
  543. /**
  544. * <p>
  545. * <pre>
  546. * <code>
  547. * &lt;xs:complexType name="GenericName_PropertyType"&gt;
  548. * &lt;xs:sequence minOccurs="0"&gt;
  549. * &lt;xs:element ref="gco:AbstractGenericName"/&gt;
  550. * &lt;/xs:sequence&gt;
  551. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  552. * &lt;/xs:complexType&gt;
  553. *
  554. * </code>
  555. * </pre>
  556. * </p>
  557. *
  558. * @generated
  559. */
  560. public static final ComplexType GENERICNAME_PROPERTYTYPE_TYPE = build_GENERICNAME_PROPERTYTYPE_TYPE();
  561. private static ComplexType build_GENERICNAME_PROPERTYTYPE_TYPE() {
  562. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  563. new NameImpl("http://www.isotc211.org/2005/gco","GenericName_PropertyType"),
  564. false, false, null, null) {
  565. @Override
  566. public AttributeType buildSuper() {
  567. return XSSchema.ANYTYPE_TYPE;
  568. }
  569. @Override
  570. public Collection<PropertyDescriptor> buildDescriptors() {
  571. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  572. descriptors.add(
  573. new AttributeDescriptorImpl(
  574. GMLSchema.CODETYPE_TYPE,
  575. new NameImpl("http://www.isotc211.org/2005/gco","AbstractGenericName"),
  576. 1, 1, false, null));
  577. descriptors.add(
  578. new AttributeDescriptorImpl(
  579. GMLSchema.NILREASONTYPE_TYPE,
  580. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  581. 0, 1, true, null));
  582. return descriptors;
  583. }
  584. };
  585. return builtType;
  586. }
  587. /**
  588. * <p>
  589. * <pre>
  590. * <code>
  591. * &lt;xs:complexType name="Integer_PropertyType"&gt;
  592. * &lt;xs:sequence minOccurs="0"&gt;
  593. * &lt;xs:element ref="gco:Integer"/&gt;
  594. * &lt;/xs:sequence&gt;
  595. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  596. * &lt;/xs:complexType&gt;
  597. *
  598. * </code>
  599. * </pre>
  600. * </p>
  601. *
  602. * @generated
  603. */
  604. public static final ComplexType INTEGER_PROPERTYTYPE_TYPE = build_INTEGER_PROPERTYTYPE_TYPE();
  605. private static ComplexType build_INTEGER_PROPERTYTYPE_TYPE() {
  606. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  607. new NameImpl("http://www.isotc211.org/2005/gco","Integer_PropertyType"),
  608. false, false, null, null) {
  609. @Override
  610. public AttributeType buildSuper() {
  611. return XSSchema.ANYTYPE_TYPE;
  612. }
  613. @Override
  614. public Collection<PropertyDescriptor> buildDescriptors() {
  615. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  616. descriptors.add(
  617. new AttributeDescriptorImpl(
  618. XSSchema.INTEGER_TYPE,
  619. new NameImpl("http://www.isotc211.org/2005/gco","Integer"),
  620. 1, 1, false, null));
  621. descriptors.add(
  622. new AttributeDescriptorImpl(
  623. GMLSchema.NILREASONTYPE_TYPE,
  624. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  625. 0, 1, true, null));
  626. return descriptors;
  627. }
  628. };
  629. return builtType;
  630. }
  631. /**
  632. * <p>
  633. * <pre>
  634. * <code>
  635. * &lt;xs:complexType name="Length_PropertyType"&gt;
  636. * &lt;xs:sequence minOccurs="0"&gt;
  637. * &lt;xs:element ref="gco:Length"/&gt;
  638. * &lt;/xs:sequence&gt;
  639. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  640. * &lt;/xs:complexType&gt;
  641. *
  642. * </code>
  643. * </pre>
  644. * </p>
  645. *
  646. * @generated
  647. */
  648. public static final ComplexType LENGTH_PROPERTYTYPE_TYPE = build_LENGTH_PROPERTYTYPE_TYPE();
  649. private static ComplexType build_LENGTH_PROPERTYTYPE_TYPE() {
  650. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  651. new NameImpl("http://www.isotc211.org/2005/gco","Length_PropertyType"),
  652. false, false, null, null) {
  653. @Override
  654. public AttributeType buildSuper() {
  655. return XSSchema.ANYTYPE_TYPE;
  656. }
  657. @Override
  658. public Collection<PropertyDescriptor> buildDescriptors() {
  659. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  660. descriptors.add(
  661. new AttributeDescriptorImpl(
  662. GMLSchema.LENGTHTYPE_TYPE,
  663. new NameImpl("http://www.isotc211.org/2005/gco","Length"),
  664. 1, 1, false, null));
  665. descriptors.add(
  666. new AttributeDescriptorImpl(
  667. GMLSchema.NILREASONTYPE_TYPE,
  668. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  669. 0, 1, true, null));
  670. return descriptors;
  671. }
  672. };
  673. return builtType;
  674. }
  675. /**
  676. * <p>
  677. * <pre>
  678. * <code>
  679. * &lt;xs:complexType name="LocalName_PropertyType"&gt;
  680. * &lt;xs:sequence minOccurs="0"&gt;
  681. * &lt;xs:element ref="gco:LocalName"/&gt;
  682. * &lt;/xs:sequence&gt;
  683. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  684. * &lt;/xs:complexType&gt;
  685. *
  686. * </code>
  687. * </pre>
  688. * </p>
  689. *
  690. * @generated
  691. */
  692. public static final ComplexType LOCALNAME_PROPERTYTYPE_TYPE = build_LOCALNAME_PROPERTYTYPE_TYPE();
  693. private static ComplexType build_LOCALNAME_PROPERTYTYPE_TYPE() {
  694. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  695. new NameImpl("http://www.isotc211.org/2005/gco","LocalName_PropertyType"),
  696. false, false, null, null) {
  697. @Override
  698. public AttributeType buildSuper() {
  699. return XSSchema.ANYTYPE_TYPE;
  700. }
  701. @Override
  702. public Collection<PropertyDescriptor> buildDescriptors() {
  703. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  704. descriptors.add(
  705. new AttributeDescriptorImpl(
  706. GMLSchema.CODETYPE_TYPE,
  707. new NameImpl("http://www.isotc211.org/2005/gco","LocalName"),
  708. 1, 1, false, null));
  709. descriptors.add(
  710. new AttributeDescriptorImpl(
  711. GMLSchema.NILREASONTYPE_TYPE,
  712. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  713. 0, 1, true, null));
  714. return descriptors;
  715. }
  716. };
  717. return builtType;
  718. }
  719. /**
  720. * <p>
  721. * <pre>
  722. * <code>
  723. * &lt;xs:complexType name="Measure_PropertyType"&gt;
  724. * &lt;xs:sequence minOccurs="0"&gt;
  725. * &lt;xs:element ref="gco:Measure"/&gt;
  726. * &lt;/xs:sequence&gt;
  727. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  728. * &lt;/xs:complexType&gt;
  729. *
  730. * </code>
  731. * </pre>
  732. * </p>
  733. *
  734. * @generated
  735. */
  736. public static final ComplexType MEASURE_PROPERTYTYPE_TYPE = build_MEASURE_PROPERTYTYPE_TYPE();
  737. private static ComplexType build_MEASURE_PROPERTYTYPE_TYPE() {
  738. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  739. new NameImpl("http://www.isotc211.org/2005/gco","Measure_PropertyType"),
  740. false, false, null, null) {
  741. @Override
  742. public AttributeType buildSuper() {
  743. return XSSchema.ANYTYPE_TYPE;
  744. }
  745. @Override
  746. public Collection<PropertyDescriptor> buildDescriptors() {
  747. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  748. descriptors.add(
  749. new AttributeDescriptorImpl(
  750. GMLSchema.MEASURETYPE_TYPE,
  751. new NameImpl("http://www.isotc211.org/2005/gco","Measure"),
  752. 1, 1, false, null));
  753. descriptors.add(
  754. new AttributeDescriptorImpl(
  755. GMLSchema.NILREASONTYPE_TYPE,
  756. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  757. 0, 1, true, null));
  758. return descriptors;
  759. }
  760. };
  761. return builtType;
  762. }
  763. /**
  764. * <p>
  765. * <pre>
  766. * <code>
  767. * &lt;xs:complexType name="MemberName_PropertyType"&gt;
  768. * &lt;xs:sequence minOccurs="0"&gt;
  769. * &lt;xs:element ref="gco:MemberName"/&gt;
  770. * &lt;/xs:sequence&gt;
  771. * &lt;xs:attributeGroup ref="gco:ObjectReference"/&gt;
  772. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  773. * &lt;/xs:complexType&gt;
  774. *
  775. * </code>
  776. * </pre>
  777. * </p>
  778. *
  779. * @generated
  780. */
  781. public static final ComplexType MEMBERNAME_PROPERTYTYPE_TYPE = build_MEMBERNAME_PROPERTYTYPE_TYPE();
  782. private static ComplexType build_MEMBERNAME_PROPERTYTYPE_TYPE() {
  783. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  784. new NameImpl("http://www.isotc211.org/2005/gco","MemberName_PropertyType"),
  785. false, false, null, null) {
  786. @Override
  787. public AttributeType buildSuper() {
  788. return XSSchema.ANYTYPE_TYPE;
  789. }
  790. @Override
  791. public Collection<PropertyDescriptor> buildDescriptors() {
  792. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  793. descriptors.add(
  794. new AttributeDescriptorImpl(
  795. MEMBERNAME_TYPE_TYPE,
  796. new NameImpl("http://www.isotc211.org/2005/gco","MemberName"),
  797. 1, 1, false, null));
  798. descriptors.add(
  799. new AttributeDescriptorImpl(
  800. XLINKSchema._ACTUATE_TYPE,
  801. new NameImpl("http://www.w3.org/1999/xlink","actuate"),
  802. 0, 1, true, null));
  803. descriptors.add(
  804. new AttributeDescriptorImpl(
  805. XSSchema.ANYURI_TYPE,
  806. new NameImpl("http://www.w3.org/1999/xlink","arcrole"),
  807. 0, 1, true, null));
  808. descriptors.add(
  809. new AttributeDescriptorImpl(
  810. XSSchema.ANYURI_TYPE,
  811. new NameImpl("http://www.w3.org/1999/xlink","href"),
  812. 0, 1, true, null));
  813. descriptors.add(
  814. new AttributeDescriptorImpl(
  815. XSSchema.ANYURI_TYPE,
  816. new NameImpl("http://www.w3.org/1999/xlink","role"),
  817. 0, 1, true, null));
  818. descriptors.add(
  819. new AttributeDescriptorImpl(
  820. XLINKSchema._SHOW_TYPE,
  821. new NameImpl("http://www.w3.org/1999/xlink","show"),
  822. 0, 1, true, null));
  823. descriptors.add(
  824. new AttributeDescriptorImpl(
  825. XSSchema.STRING_TYPE,
  826. new NameImpl("http://www.w3.org/1999/xlink","title"),
  827. 0, 1, true, null));
  828. descriptors.add(
  829. new AttributeDescriptorImpl(
  830. XSSchema.STRING_TYPE,
  831. new NameImpl("http://www.w3.org/1999/xlink","type"),
  832. 0, 1, true, null));
  833. descriptors.add(
  834. new AttributeDescriptorImpl(
  835. XSSchema.STRING_TYPE,
  836. new NameImpl("uuidref"),
  837. 0, 1, true, null));
  838. descriptors.add(
  839. new AttributeDescriptorImpl(
  840. GMLSchema.NILREASONTYPE_TYPE,
  841. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  842. 0, 1, true, null));
  843. return descriptors;
  844. }
  845. };
  846. return builtType;
  847. }
  848. /**
  849. * <p>
  850. * <pre>
  851. * <code>
  852. * &lt;xs:complexType name="MemberName_Type"&gt;
  853. * &lt;xs:annotation&gt;
  854. * &lt;xs:documentation&gt;A MemberName is a LocalName that references either an attribute slot in a record or recordType or an attribute, operation, or association role in an object instance or type description in some form of schema. The stored value "aName" is the returned value for the "aName()" operation.&lt;/xs:documentation&gt;
  855. * &lt;/xs:annotation&gt;
  856. * &lt;xs:complexContent&gt;
  857. * &lt;xs:extension base="gco:AbstractObject_Type"&gt;
  858. * &lt;xs:sequence&gt;
  859. * &lt;xs:element name="aName" type="gco:CharacterString_PropertyType"/&gt;
  860. * &lt;xs:element name="attributeType" type="gco:TypeName_PropertyType"/&gt;
  861. * &lt;/xs:sequence&gt;
  862. * &lt;/xs:extension&gt;
  863. * &lt;/xs:complexContent&gt;
  864. * &lt;/xs:complexType&gt;
  865. *
  866. * </code>
  867. * </pre>
  868. * </p>
  869. *
  870. * @generated
  871. */
  872. public static final ComplexType MEMBERNAME_TYPE_TYPE = build_MEMBERNAME_TYPE_TYPE();
  873. private static ComplexType build_MEMBERNAME_TYPE_TYPE() {
  874. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  875. new NameImpl("http://www.isotc211.org/2005/gco","MemberName_Type"),
  876. false, false, null, null) {
  877. @Override
  878. public AttributeType buildSuper() {
  879. return ABSTRACTOBJECT_TYPE_TYPE;
  880. }
  881. @Override
  882. public Collection<PropertyDescriptor> buildDescriptors() {
  883. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  884. descriptors.add(
  885. new AttributeDescriptorImpl(
  886. CHARACTERSTRING_PROPERTYTYPE_TYPE,
  887. new NameImpl("http://www.isotc211.org/2005/gco","aName"),
  888. 1, 1, false, null));
  889. descriptors.add(
  890. new AttributeDescriptorImpl(
  891. TYPENAME_PROPERTYTYPE_TYPE,
  892. new NameImpl("http://www.isotc211.org/2005/gco","attributeType"),
  893. 1, 1, false, null));
  894. return descriptors;
  895. }
  896. };
  897. return builtType;
  898. }
  899. /**
  900. * <p>
  901. * <pre>
  902. * <code>
  903. * &lt;xs:complexType name="MultiplicityRange_PropertyType"&gt;
  904. * &lt;xs:sequence minOccurs="0"&gt;
  905. * &lt;xs:element ref="gco:MultiplicityRange"/&gt;
  906. * &lt;/xs:sequence&gt;
  907. * &lt;xs:attributeGroup ref="gco:ObjectReference"/&gt;
  908. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  909. * &lt;/xs:complexType&gt;
  910. *
  911. * </code>
  912. * </pre>
  913. * </p>
  914. *
  915. * @generated
  916. */
  917. public static final ComplexType MULTIPLICITYRANGE_PROPERTYTYPE_TYPE = build_MULTIPLICITYRANGE_PROPERTYTYPE_TYPE();
  918. private static ComplexType build_MULTIPLICITYRANGE_PROPERTYTYPE_TYPE() {
  919. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  920. new NameImpl("http://www.isotc211.org/2005/gco","MultiplicityRange_PropertyType"),
  921. false, false, null, null) {
  922. @Override
  923. public AttributeType buildSuper() {
  924. return XSSchema.ANYTYPE_TYPE;
  925. }
  926. @Override
  927. public Collection<PropertyDescriptor> buildDescriptors() {
  928. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  929. descriptors.add(
  930. new AttributeDescriptorImpl(
  931. MULTIPLICITYRANGE_TYPE_TYPE,
  932. new NameImpl("http://www.isotc211.org/2005/gco","MultiplicityRange"),
  933. 1, 1, false, null));
  934. descriptors.add(
  935. new AttributeDescriptorImpl(
  936. XLINKSchema._ACTUATE_TYPE,
  937. new NameImpl("http://www.w3.org/1999/xlink","actuate"),
  938. 0, 1, true, null));
  939. descriptors.add(
  940. new AttributeDescriptorImpl(
  941. XSSchema.ANYURI_TYPE,
  942. new NameImpl("http://www.w3.org/1999/xlink","arcrole"),
  943. 0, 1, true, null));
  944. descriptors.add(
  945. new AttributeDescriptorImpl(
  946. XSSchema.ANYURI_TYPE,
  947. new NameImpl("http://www.w3.org/1999/xlink","href"),
  948. 0, 1, true, null));
  949. descriptors.add(
  950. new AttributeDescriptorImpl(
  951. XSSchema.ANYURI_TYPE,
  952. new NameImpl("http://www.w3.org/1999/xlink","role"),
  953. 0, 1, true, null));
  954. descriptors.add(
  955. new AttributeDescriptorImpl(
  956. XLINKSchema._SHOW_TYPE,
  957. new NameImpl("http://www.w3.org/1999/xlink","show"),
  958. 0, 1, true, null));
  959. descriptors.add(
  960. new AttributeDescriptorImpl(
  961. XSSchema.STRING_TYPE,
  962. new NameImpl("http://www.w3.org/1999/xlink","title"),
  963. 0, 1, true, null));
  964. descriptors.add(
  965. new AttributeDescriptorImpl(
  966. XSSchema.STRING_TYPE,
  967. new NameImpl("http://www.w3.org/1999/xlink","type"),
  968. 0, 1, true, null));
  969. descriptors.add(
  970. new AttributeDescriptorImpl(
  971. XSSchema.STRING_TYPE,
  972. new NameImpl("uuidref"),
  973. 0, 1, true, null));
  974. descriptors.add(
  975. new AttributeDescriptorImpl(
  976. GMLSchema.NILREASONTYPE_TYPE,
  977. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  978. 0, 1, true, null));
  979. return descriptors;
  980. }
  981. };
  982. return builtType;
  983. }
  984. /**
  985. * <p>
  986. * <pre>
  987. * <code>
  988. * &lt;xs:complexType name="MultiplicityRange_Type"&gt;
  989. * &lt;xs:annotation&gt;
  990. * &lt;xs:documentation&gt;A component of a multiplicity, consisting of an non-negative lower bound, and a potentially infinite upper bound.&lt;/xs:documentation&gt;
  991. * &lt;/xs:annotation&gt;
  992. * &lt;xs:complexContent&gt;
  993. * &lt;xs:extension base="gco:AbstractObject_Type"&gt;
  994. * &lt;xs:sequence&gt;
  995. * &lt;xs:element name="lower" type="gco:Integer_PropertyType"/&gt;
  996. * &lt;xs:element name="upper" type="gco:UnlimitedInteger_PropertyType"/&gt;
  997. * &lt;/xs:sequence&gt;
  998. * &lt;/xs:extension&gt;
  999. * &lt;/xs:complexContent&gt;
  1000. * &lt;/xs:complexType&gt;
  1001. *
  1002. * </code>
  1003. * </pre>
  1004. * </p>
  1005. *
  1006. * @generated
  1007. */
  1008. public static final ComplexType MULTIPLICITYRANGE_TYPE_TYPE = build_MULTIPLICITYRANGE_TYPE_TYPE();
  1009. private static ComplexType build_MULTIPLICITYRANGE_TYPE_TYPE() {
  1010. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  1011. new NameImpl("http://www.isotc211.org/2005/gco","MultiplicityRange_Type"),
  1012. false, false, null, null) {
  1013. @Override
  1014. public AttributeType buildSuper() {
  1015. return ABSTRACTOBJECT_TYPE_TYPE;
  1016. }
  1017. @Override
  1018. public Collection<PropertyDescriptor> buildDescriptors() {
  1019. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  1020. descriptors.add(
  1021. new AttributeDescriptorImpl(
  1022. INTEGER_PROPERTYTYPE_TYPE,
  1023. new NameImpl("http://www.isotc211.org/2005/gco","lower"),
  1024. 1, 1, false, null));
  1025. descriptors.add(
  1026. new AttributeDescriptorImpl(
  1027. UNLIMITEDINTEGER_PROPERTYTYPE_TYPE,
  1028. new NameImpl("http://www.isotc211.org/2005/gco","upper"),
  1029. 1, 1, false, null));
  1030. return descriptors;
  1031. }
  1032. };
  1033. return builtType;
  1034. }
  1035. /**
  1036. * <p>
  1037. * <pre>
  1038. * <code>
  1039. * &lt;xs:complexType name="Multiplicity_PropertyType"&gt;
  1040. * &lt;xs:sequence minOccurs="0"&gt;
  1041. * &lt;xs:element ref="gco:Multiplicity"/&gt;
  1042. * &lt;/xs:sequence&gt;
  1043. * &lt;xs:attributeGroup ref="gco:ObjectReference"/&gt;
  1044. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  1045. * &lt;/xs:complexType&gt;
  1046. *
  1047. * </code>
  1048. * </pre>
  1049. * </p>
  1050. *
  1051. * @generated
  1052. */
  1053. public static final ComplexType MULTIPLICITY_PROPERTYTYPE_TYPE = build_MULTIPLICITY_PROPERTYTYPE_TYPE();
  1054. private static ComplexType build_MULTIPLICITY_PROPERTYTYPE_TYPE() {
  1055. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  1056. new NameImpl("http://www.isotc211.org/2005/gco","Multiplicity_PropertyType"),
  1057. false, false, null, null) {
  1058. @Override
  1059. public AttributeType buildSuper() {
  1060. return XSSchema.ANYTYPE_TYPE;
  1061. }
  1062. @Override
  1063. public Collection<PropertyDescriptor> buildDescriptors() {
  1064. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  1065. descriptors.add(
  1066. new AttributeDescriptorImpl(
  1067. MULTIPLICITY_TYPE_TYPE,
  1068. new NameImpl("http://www.isotc211.org/2005/gco","Multiplicity"),
  1069. 1, 1, false, null));
  1070. descriptors.add(
  1071. new AttributeDescriptorImpl(
  1072. XLINKSchema._ACTUATE_TYPE,
  1073. new NameImpl("http://www.w3.org/1999/xlink","actuate"),
  1074. 0, 1, true, null));
  1075. descriptors.add(
  1076. new AttributeDescriptorImpl(
  1077. XSSchema.ANYURI_TYPE,
  1078. new NameImpl("http://www.w3.org/1999/xlink","arcrole"),
  1079. 0, 1, true, null));
  1080. descriptors.add(
  1081. new AttributeDescriptorImpl(
  1082. XSSchema.ANYURI_TYPE,
  1083. new NameImpl("http://www.w3.org/1999/xlink","href"),
  1084. 0, 1, true, null));
  1085. descriptors.add(
  1086. new AttributeDescriptorImpl(
  1087. XSSchema.ANYURI_TYPE,
  1088. new NameImpl("http://www.w3.org/1999/xlink","role"),
  1089. 0, 1, true, null));
  1090. descriptors.add(
  1091. new AttributeDescriptorImpl(
  1092. XLINKSchema._SHOW_TYPE,
  1093. new NameImpl("http://www.w3.org/1999/xlink","show"),
  1094. 0, 1, true, null));
  1095. descriptors.add(
  1096. new AttributeDescriptorImpl(
  1097. XSSchema.STRING_TYPE,
  1098. new NameImpl("http://www.w3.org/1999/xlink","title"),
  1099. 0, 1, true, null));
  1100. descriptors.add(
  1101. new AttributeDescriptorImpl(
  1102. XSSchema.STRING_TYPE,
  1103. new NameImpl("http://www.w3.org/1999/xlink","type"),
  1104. 0, 1, true, null));
  1105. descriptors.add(
  1106. new AttributeDescriptorImpl(
  1107. XSSchema.STRING_TYPE,
  1108. new NameImpl("uuidref"),
  1109. 0, 1, true, null));
  1110. descriptors.add(
  1111. new AttributeDescriptorImpl(
  1112. GMLSchema.NILREASONTYPE_TYPE,
  1113. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  1114. 0, 1, true, null));
  1115. return descriptors;
  1116. }
  1117. };
  1118. return builtType;
  1119. }
  1120. /**
  1121. * <p>
  1122. * <pre>
  1123. * <code>
  1124. * &lt;xs:complexType name="Multiplicity_Type"&gt;
  1125. * &lt;xs:annotation&gt;
  1126. * &lt;xs:documentation&gt;Use to represent the possible cardinality of a relation. Represented by a set of simple multiplicity ranges.&lt;/xs:documentation&gt;
  1127. * &lt;/xs:annotation&gt;
  1128. * &lt;xs:complexContent&gt;
  1129. * &lt;xs:extension base="gco:AbstractObject_Type"&gt;
  1130. * &lt;xs:sequence&gt;
  1131. * &lt;xs:element maxOccurs="unbounded" name="range" type="gco:MultiplicityRange_PropertyType"/&gt;
  1132. * &lt;/xs:sequence&gt;
  1133. * &lt;/xs:extension&gt;
  1134. * &lt;/xs:complexContent&gt;
  1135. * &lt;/xs:complexType&gt;
  1136. *
  1137. * </code>
  1138. * </pre>
  1139. * </p>
  1140. *
  1141. * @generated
  1142. */
  1143. public static final ComplexType MULTIPLICITY_TYPE_TYPE = build_MULTIPLICITY_TYPE_TYPE();
  1144. private static ComplexType build_MULTIPLICITY_TYPE_TYPE() {
  1145. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  1146. new NameImpl("http://www.isotc211.org/2005/gco","Multiplicity_Type"),
  1147. false, false, null, null) {
  1148. @Override
  1149. public AttributeType buildSuper() {
  1150. return ABSTRACTOBJECT_TYPE_TYPE;
  1151. }
  1152. @Override
  1153. public Collection<PropertyDescriptor> buildDescriptors() {
  1154. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  1155. descriptors.add(
  1156. new AttributeDescriptorImpl(
  1157. MULTIPLICITYRANGE_PROPERTYTYPE_TYPE,
  1158. new NameImpl("http://www.isotc211.org/2005/gco","range"),
  1159. 1, 2147483647, false, null));
  1160. return descriptors;
  1161. }
  1162. };
  1163. return builtType;
  1164. }
  1165. /**
  1166. * <p>
  1167. * <pre>
  1168. * <code>
  1169. * &lt;xs:complexType name="Number_PropertyType"&gt;
  1170. * &lt;xs:choice minOccurs="0"&gt;
  1171. * &lt;xs:element ref="gco:Real"/&gt;
  1172. * &lt;xs:element ref="gco:Decimal"/&gt;
  1173. * &lt;xs:element ref="gco:Integer"/&gt;
  1174. * &lt;/xs:choice&gt;
  1175. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  1176. * &lt;/xs:complexType&gt;
  1177. *
  1178. * </code>
  1179. * </pre>
  1180. * </p>
  1181. *
  1182. * @generated
  1183. */
  1184. public static final ComplexType NUMBER_PROPERTYTYPE_TYPE = build_NUMBER_PROPERTYTYPE_TYPE();
  1185. private static ComplexType build_NUMBER_PROPERTYTYPE_TYPE() {
  1186. ComplexType builtType = new AbstractLazyComplexTypeImpl(
  1187. new NameImpl("http://www.isotc211.org/2005/gco","Number_PropertyType"),
  1188. false, false, null, null) {
  1189. @Override
  1190. public AttributeType buildSuper() {
  1191. return XSSchema.ANYTYPE_TYPE;
  1192. }
  1193. @Override
  1194. public Collection<PropertyDescriptor> buildDescriptors() {
  1195. List<PropertyDescriptor> descriptors = new ArrayList<PropertyDescriptor>();
  1196. descriptors.add(
  1197. new AttributeDescriptorImpl(
  1198. XSSchema.DOUBLE_TYPE,
  1199. new NameImpl("http://www.isotc211.org/2005/gco","Real"),
  1200. 1, 1, false, null));
  1201. descriptors.add(
  1202. new AttributeDescriptorImpl(
  1203. XSSchema.DECIMAL_TYPE,
  1204. new NameImpl("http://www.isotc211.org/2005/gco","Decimal"),
  1205. 1, 1, false, null));
  1206. descriptors.add(
  1207. new AttributeDescriptorImpl(
  1208. XSSchema.INTEGER_TYPE,
  1209. new NameImpl("http://www.isotc211.org/2005/gco","Integer"),
  1210. 1, 1, false, null));
  1211. descriptors.add(
  1212. new AttributeDescriptorImpl(
  1213. GMLSchema.NILREASONTYPE_TYPE,
  1214. new NameImpl("http://www.isotc211.org/2005/gco","nilReason"),
  1215. 0, 1, true, null));
  1216. return descriptors;
  1217. }
  1218. };
  1219. return builtType;
  1220. }
  1221. /**
  1222. * <p>
  1223. * <pre>
  1224. * <code>
  1225. * &lt;xs:complexType name="ObjectReference_PropertyType"&gt;
  1226. * &lt;xs:sequence/&gt;
  1227. * &lt;xs:attributeGroup ref="gco:ObjectReference"/&gt;
  1228. * &lt;xs:attribute ref="gco:nilReason"/&gt;
  1229. * &lt;/xs:complexType&gt;
  1230. *
  1231. * </code>
  1232. *