|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEnumeratedParameter
org.deegree_impl.model.ct.DomainFlags
Flags indicating parts of domain covered by a convex hull.
These flags can be combined. For example, the enum
means that some parts of the convex hull are inside the domain,
and some parts of the convex hull are outside the domain.
INSIDE
.or(OUTSIDE
)
CT_DomainFlags
,
Serialized FormField Summary | |
static DomainFlags |
DISCONTINUOUS
At least one point in a convex hull is not transformed continuously. |
private static DomainFlags[] |
ENUMS
Domain flags by value. |
static DomainFlags |
INSIDE
At least one point in a convex hull is inside the transform's domain. |
static DomainFlags |
OUTSIDE
At least one point in a convex hull is outside the transform's domain. |
private static long |
serialVersionUID
Serial number for interoperability with different versions. |
Constructor Summary | |
private |
DomainFlags(java.lang.String name,
int value)
Construct a new enum value. |
Method Summary | |
static DomainFlags |
getEnum(int value)
Return the enum for the specified value. |
java.lang.String[] |
getNames(java.util.Locale locale)
Returns enum's names in the specified locale. |
DomainFlags |
or(DomainFlags flags)
Returns a combination of two domain flags. |
private java.lang.Object |
readResolve()
Use a single instance of DomainFlags after deserialization.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private static final DomainFlags[] ENUMS
public static final DomainFlags INSIDE
CT_DomainFlags.CT_DF_Inside
public static final DomainFlags OUTSIDE
CT_DomainFlags.CT_DF_Outside
public static final DomainFlags DISCONTINUOUS
CT_DomainFlags.CT_DF_Discontinuous
Constructor Detail |
private DomainFlags(java.lang.String name, int value)
Method Detail |
public static DomainFlags getEnum(int value) throws java.util.NoSuchElementException
CT_DomainFlags
.
value
- The enum value.
java.util.NoSuchElementException
- if there is no enum for the specified value.public java.lang.String[] getNames(java.util.Locale locale)
getNames
returns an array of two elements: "Inside" and "Outside".
locale
- The locale, or null
for the current default locale.
null
).public DomainFlags or(DomainFlags flags)
getEnum(this.getValue() | flags.getValue())
.
private java.lang.Object readResolve() throws java.io.ObjectStreamException
DomainFlags
after deserialization.
It allow client code to test enum1==enum2
instead of
enum1.equals(enum2)
.
java.io.ObjectStreamException
- is deserialization failed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |