_DynSequenceStub.java 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. /* _DynSequenceStub.java --
  2. Copyright (C) 2005, 2006 Free Software Foundation, Inc.
  3. This file is part of GNU Classpath.
  4. GNU Classpath is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.
  8. GNU Classpath is distributed in the hope that it will be useful, but
  9. WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GNU Classpath; see the file COPYING. If not, write to the
  14. Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  15. 02110-1301 USA.
  16. Linking this library statically or dynamically with other modules is
  17. making a combined work based on this library. Thus, the terms and
  18. conditions of the GNU General Public License cover the whole
  19. combination.
  20. As a special exception, the copyright holders of this library give you
  21. permission to link this library with independent modules to produce an
  22. executable, regardless of the license terms of these independent
  23. modules, and to copy and distribute the resulting executable under
  24. terms of your choice, provided that you also meet, for each linked
  25. independent module, the terms and conditions of the license of that
  26. module. An independent module is a module which is not derived from
  27. or based on this library. If you modify this library, you may extend
  28. this exception to your version of the library, but you are not
  29. obligated to do so. If you do not wish to do so, delete this
  30. exception statement from your version. */
  31. package org.omg.DynamicAny;
  32. import java.io.Serializable;
  33. import org.omg.CORBA.Any;
  34. import org.omg.CORBA.MARSHAL;
  35. import org.omg.CORBA.TypeCode;
  36. import org.omg.CORBA.portable.Delegate;
  37. import org.omg.CORBA.portable.ObjectImpl;
  38. import org.omg.DynamicAny.DynAnyPackage.InvalidValue;
  39. import org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
  40. /**
  41. * Should provide support for remote invocation of methods on DynSequence. As
  42. * DynSequence can never be remote at least till 1.5 inclusive, this class is
  43. * not in use.
  44. *
  45. * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
  46. */
  47. public class _DynSequenceStub
  48. extends ObjectImpl
  49. implements DynSequence, Serializable
  50. {
  51. /**
  52. * Use serialVersionUID (v1.4) for interoperability.
  53. */
  54. private static final long serialVersionUID = 7191437435669107554L;
  55. /**
  56. * The purpose and value of this field are not documented.
  57. */
  58. @SuppressWarnings("rawtypes") // Needed for API compatibility
  59. public static final Class _opsClass = DynSequenceOperations.class;
  60. /**
  61. * Create the DynSequence stub. To get the stub working,
  62. * you must later set the delegate with
  63. * {@link ObjectImpl#_set_delegate(Delegate)}.
  64. */
  65. public _DynSequenceStub()
  66. {
  67. }
  68. /**
  69. * Return the array of repository ids for this object.
  70. */
  71. public String[] _ids()
  72. {
  73. return new String[] { DynSequenceHelper.id() };
  74. }
  75. /**
  76. * The remote call of DynAny methods is not possible.
  77. *
  78. * @throws MARSHAL, always.
  79. */
  80. public Any[] get_elements()
  81. {
  82. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  83. }
  84. /**
  85. * The remote call of DynAny methods is not possible.
  86. *
  87. * @throws MARSHAL, always.
  88. */
  89. public DynAny[] get_elements_as_dyn_any()
  90. {
  91. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  92. }
  93. /**
  94. * The remote call of DynAny methods is not possible.
  95. *
  96. * @throws MARSHAL, always.
  97. */
  98. public void set_elements(Any[] _0)
  99. throws TypeMismatch, InvalidValue
  100. {
  101. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  102. }
  103. /**
  104. * The remote call of DynAny methods is not possible.
  105. *
  106. * @throws MARSHAL, always.
  107. */
  108. public void set_elements_as_dyn_any(DynAny[] _0)
  109. throws TypeMismatch, InvalidValue
  110. {
  111. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  112. }
  113. /**
  114. * The remote call of DynAny methods is not possible.
  115. *
  116. * @throws MARSHAL, always.
  117. */
  118. public int get_length()
  119. {
  120. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  121. }
  122. /**
  123. * The remote call of DynAny methods is not possible.
  124. *
  125. * @throws MARSHAL, always.
  126. */
  127. public void set_length(int _0)
  128. throws InvalidValue
  129. {
  130. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  131. }
  132. /**
  133. * The remote call of DynAny methods is not possible.
  134. *
  135. * @throws MARSHAL, always.
  136. */
  137. public TypeCode type()
  138. {
  139. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  140. }
  141. /**
  142. * The remote call of DynAny methods is not possible.
  143. *
  144. * @throws MARSHAL, always.
  145. */
  146. public boolean next()
  147. {
  148. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  149. }
  150. /**
  151. * The remote call of DynAny methods is not possible.
  152. *
  153. * @throws MARSHAL, always.
  154. */
  155. public void destroy()
  156. {
  157. }
  158. /**
  159. * The remote call of DynAny methods is not possible.
  160. *
  161. * @throws MARSHAL, always.
  162. */
  163. public DynAny copy()
  164. {
  165. return this;
  166. }
  167. /**
  168. * The remote call of DynAny methods is not possible.
  169. *
  170. * @throws MARSHAL, always.
  171. */
  172. public void rewind()
  173. {
  174. }
  175. /**
  176. * The remote call of DynAny methods is not possible.
  177. *
  178. * @throws MARSHAL, always.
  179. */
  180. public void assign(DynAny _0)
  181. throws TypeMismatch
  182. {
  183. }
  184. /**
  185. * The remote call of DynAny methods is not possible.
  186. *
  187. * @throws MARSHAL, always.
  188. */
  189. public int component_count()
  190. {
  191. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  192. }
  193. /**
  194. * The remote call of DynAny methods is not possible.
  195. *
  196. * @throws MARSHAL, always.
  197. */
  198. public DynAny current_component()
  199. throws TypeMismatch
  200. {
  201. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  202. }
  203. /**
  204. * The remote call of DynAny methods is not possible.
  205. *
  206. * @throws MARSHAL, always.
  207. */
  208. public boolean equal(DynAny _0)
  209. {
  210. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  211. }
  212. /**
  213. * The remote call of DynAny methods is not possible.
  214. *
  215. * @throws MARSHAL, always.
  216. */
  217. public void from_any(Any _0)
  218. throws TypeMismatch, InvalidValue
  219. {
  220. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  221. }
  222. /**
  223. * The remote call of DynAny methods is not possible.
  224. *
  225. * @throws MARSHAL, always.
  226. */
  227. public Any get_any()
  228. throws TypeMismatch, InvalidValue
  229. {
  230. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  231. }
  232. /**
  233. * The remote call of DynAny methods is not possible.
  234. *
  235. * @throws MARSHAL, always.
  236. */
  237. public boolean get_boolean()
  238. throws TypeMismatch, InvalidValue
  239. {
  240. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  241. }
  242. /**
  243. * The remote call of DynAny methods is not possible.
  244. *
  245. * @throws MARSHAL, always.
  246. */
  247. public char get_char()
  248. throws TypeMismatch, InvalidValue
  249. {
  250. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  251. }
  252. /**
  253. * The remote call of DynAny methods is not possible.
  254. *
  255. * @throws MARSHAL, always.
  256. */
  257. public double get_double()
  258. throws TypeMismatch, InvalidValue
  259. {
  260. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  261. }
  262. /**
  263. * The remote call of DynAny methods is not possible.
  264. *
  265. * @throws MARSHAL, always.
  266. */
  267. public DynAny get_dyn_any()
  268. throws TypeMismatch, InvalidValue
  269. {
  270. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  271. }
  272. /**
  273. * The remote call of DynAny methods is not possible.
  274. *
  275. * @throws MARSHAL, always.
  276. */
  277. public float get_float()
  278. throws TypeMismatch, InvalidValue
  279. {
  280. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  281. }
  282. /**
  283. * The remote call of DynAny methods is not possible.
  284. *
  285. * @throws MARSHAL, always.
  286. */
  287. public int get_long()
  288. throws TypeMismatch, InvalidValue
  289. {
  290. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  291. }
  292. /**
  293. * The remote call of DynAny methods is not possible.
  294. *
  295. * @throws MARSHAL, always.
  296. */
  297. public long get_longlong()
  298. throws TypeMismatch, InvalidValue
  299. {
  300. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  301. }
  302. /**
  303. * The remote call of DynAny methods is not possible.
  304. *
  305. * @throws MARSHAL, always.
  306. */
  307. public byte get_octet()
  308. throws TypeMismatch, InvalidValue
  309. {
  310. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  311. }
  312. /**
  313. * The remote call of DynAny methods is not possible.
  314. *
  315. * @throws MARSHAL, always.
  316. */
  317. public org.omg.CORBA.Object get_reference()
  318. throws TypeMismatch, InvalidValue
  319. {
  320. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  321. }
  322. /**
  323. * The remote call of DynAny methods is not possible.
  324. *
  325. * @throws MARSHAL, always.
  326. */
  327. public short get_short()
  328. throws TypeMismatch, InvalidValue
  329. {
  330. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  331. }
  332. /**
  333. * The remote call of DynAny methods is not possible.
  334. *
  335. * @throws MARSHAL, always.
  336. */
  337. public String get_string()
  338. throws TypeMismatch, InvalidValue
  339. {
  340. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  341. }
  342. /**
  343. * The remote call of DynAny methods is not possible.
  344. *
  345. * @throws MARSHAL, always.
  346. */
  347. public TypeCode get_typecode()
  348. throws TypeMismatch, InvalidValue
  349. {
  350. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  351. }
  352. /**
  353. * The remote call of DynAny methods is not possible.
  354. *
  355. * @throws MARSHAL, always.
  356. */
  357. public int get_ulong()
  358. throws TypeMismatch, InvalidValue
  359. {
  360. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  361. }
  362. /**
  363. * The remote call of DynAny methods is not possible.
  364. *
  365. * @throws MARSHAL, always.
  366. */
  367. public long get_ulonglong()
  368. throws TypeMismatch, InvalidValue
  369. {
  370. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  371. }
  372. /**
  373. * The remote call of DynAny methods is not possible.
  374. *
  375. * @throws MARSHAL, always.
  376. */
  377. public short get_ushort()
  378. throws TypeMismatch, InvalidValue
  379. {
  380. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  381. }
  382. /**
  383. * The remote call of DynAny methods is not possible.
  384. *
  385. * @throws MARSHAL, always.
  386. */
  387. public Serializable get_val()
  388. throws TypeMismatch, InvalidValue
  389. {
  390. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  391. }
  392. /**
  393. * The remote call of DynAny methods is not possible.
  394. *
  395. * @throws MARSHAL, always.
  396. */
  397. public char get_wchar()
  398. throws TypeMismatch, InvalidValue
  399. {
  400. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  401. }
  402. /**
  403. * The remote call of DynAny methods is not possible.
  404. *
  405. * @throws MARSHAL, always.
  406. */
  407. public String get_wstring()
  408. throws TypeMismatch, InvalidValue
  409. {
  410. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  411. }
  412. /**
  413. * The remote call of DynAny methods is not possible.
  414. *
  415. * @throws MARSHAL, always.
  416. */
  417. public void insert_any(Any _0)
  418. throws TypeMismatch, InvalidValue
  419. {
  420. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  421. }
  422. /**
  423. * The remote call of DynAny methods is not possible.
  424. *
  425. * @throws MARSHAL, always.
  426. */
  427. public void insert_boolean(boolean _0)
  428. throws TypeMismatch, InvalidValue
  429. {
  430. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  431. }
  432. /**
  433. * The remote call of DynAny methods is not possible.
  434. *
  435. * @throws MARSHAL, always.
  436. */
  437. public void insert_char(char _0)
  438. throws TypeMismatch, InvalidValue
  439. {
  440. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  441. }
  442. /**
  443. * The remote call of DynAny methods is not possible.
  444. *
  445. * @throws MARSHAL, always.
  446. */
  447. public void insert_double(double _0)
  448. throws TypeMismatch, InvalidValue
  449. {
  450. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  451. }
  452. /**
  453. * The remote call of DynAny methods is not possible.
  454. *
  455. * @throws MARSHAL, always.
  456. */
  457. public void insert_dyn_any(DynAny _0)
  458. throws TypeMismatch, InvalidValue
  459. {
  460. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  461. }
  462. /**
  463. * The remote call of DynAny methods is not possible.
  464. *
  465. * @throws MARSHAL, always.
  466. */
  467. public void insert_float(float _0)
  468. throws TypeMismatch, InvalidValue
  469. {
  470. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  471. }
  472. /**
  473. * The remote call of DynAny methods is not possible.
  474. *
  475. * @throws MARSHAL, always.
  476. */
  477. public void insert_long(int _0)
  478. throws TypeMismatch, InvalidValue
  479. {
  480. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  481. }
  482. /**
  483. * The remote call of DynAny methods is not possible.
  484. *
  485. * @throws MARSHAL, always.
  486. */
  487. public void insert_longlong(long _0)
  488. throws TypeMismatch, InvalidValue
  489. {
  490. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  491. }
  492. /**
  493. * The remote call of DynAny methods is not possible.
  494. *
  495. * @throws MARSHAL, always.
  496. */
  497. public void insert_octet(byte _0)
  498. throws TypeMismatch, InvalidValue
  499. {
  500. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  501. }
  502. /**
  503. * The remote call of DynAny methods is not possible.
  504. *
  505. * @throws MARSHAL, always.
  506. */
  507. public void insert_reference(org.omg.CORBA.Object _0)
  508. throws TypeMismatch, InvalidValue
  509. {
  510. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  511. }
  512. /**
  513. * The remote call of DynAny methods is not possible.
  514. *
  515. * @throws MARSHAL, always.
  516. */
  517. public void insert_short(short _0)
  518. throws TypeMismatch, InvalidValue
  519. {
  520. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  521. }
  522. /**
  523. * The remote call of DynAny methods is not possible.
  524. *
  525. * @throws MARSHAL, always.
  526. */
  527. public void insert_string(String _0)
  528. throws TypeMismatch, InvalidValue
  529. {
  530. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  531. }
  532. /**
  533. * The remote call of DynAny methods is not possible.
  534. *
  535. * @throws MARSHAL, always.
  536. */
  537. public void insert_typecode(TypeCode _0)
  538. throws TypeMismatch, InvalidValue
  539. {
  540. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  541. }
  542. /**
  543. * The remote call of DynAny methods is not possible.
  544. *
  545. * @throws MARSHAL, always.
  546. */
  547. public void insert_ulong(int _0)
  548. throws TypeMismatch, InvalidValue
  549. {
  550. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  551. }
  552. /**
  553. * The remote call of DynAny methods is not possible.
  554. *
  555. * @throws MARSHAL, always.
  556. */
  557. public void insert_ulonglong(long _0)
  558. throws TypeMismatch, InvalidValue
  559. {
  560. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  561. }
  562. /**
  563. * The remote call of DynAny methods is not possible.
  564. *
  565. * @throws MARSHAL, always.
  566. */
  567. public void insert_ushort(short _0)
  568. throws TypeMismatch, InvalidValue
  569. {
  570. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  571. }
  572. /**
  573. * The remote call of DynAny methods is not possible.
  574. *
  575. * @throws MARSHAL, always.
  576. */
  577. public void insert_val(Serializable _0)
  578. throws TypeMismatch, InvalidValue
  579. {
  580. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  581. }
  582. /**
  583. * The remote call of DynAny methods is not possible.
  584. *
  585. * @throws MARSHAL, always.
  586. */
  587. public void insert_wchar(char _0)
  588. throws TypeMismatch, InvalidValue
  589. {
  590. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  591. }
  592. /**
  593. * The remote call of DynAny methods is not possible.
  594. *
  595. * @throws MARSHAL, always.
  596. */
  597. public void insert_wstring(String _0)
  598. throws TypeMismatch, InvalidValue
  599. {
  600. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  601. }
  602. /**
  603. * The remote call of DynAny methods is not possible.
  604. *
  605. * @throws MARSHAL, always.
  606. */
  607. public boolean seek(int _0)
  608. {
  609. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  610. }
  611. /**
  612. * The remote call of DynAny methods is not possible.
  613. *
  614. * @throws MARSHAL, always.
  615. */
  616. public Any to_any()
  617. {
  618. throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
  619. }
  620. }