1 |
/* DynEnumOperations.java -- |
/* DynEnumOperations.java -- |
2 |
Copyright (C) 2005 Free Software Foundation, Inc. |
Copyright (C) 2005 Free Software Foundation, Inc. |
|
|
|
3 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
4 |
|
|
5 |
GNU Classpath is free software; you can redistribute it and/or modify |
GNU Classpath is free software; you can redistribute it and/or modify |
49 |
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) |
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) |
50 |
*/ |
*/ |
51 |
public interface DynEnumOperations |
public interface DynEnumOperations |
52 |
|
extends DynAnyOperations |
53 |
{ |
{ |
54 |
/** |
/** |
55 |
* Get the current enumeration value, as string. |
* Get the current enumeration value, as string. |
67 |
* @throws InvalidValue if the passed string is not one of the allowed values |
* @throws InvalidValue if the passed string is not one of the allowed values |
68 |
* for this enumeration. |
* for this enumeration. |
69 |
*/ |
*/ |
70 |
void set_as_string(String value) throws InvalidValue; |
void set_as_string(String value) |
71 |
|
throws InvalidValue; |
72 |
|
|
73 |
/** |
/** |
74 |
* Set the current enumeration value, as int. |
* Set the current enumeration value, as int. |
76 |
* @throws InvalidValue if the passed string is not one of the allowed values |
* @throws InvalidValue if the passed string is not one of the allowed values |
77 |
* for this enumeration. |
* for this enumeration. |
78 |
*/ |
*/ |
79 |
void set_as_ulong(int value) throws InvalidValue; |
void set_as_ulong(int value) |
80 |
|
throws InvalidValue; |
81 |
|
|
82 |
} |
} |