public static enum MappingReader.SupportedOrmXsdVersion extends Enum<MappingReader.SupportedOrmXsdVersion>
Modifier and Type | Method and Description |
---|---|
Schema |
getSchema() |
URL |
getSchemaUrl() |
static MappingReader.SupportedOrmXsdVersion |
parse(String name,
Origin origin) |
static MappingReader.SupportedOrmXsdVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MappingReader.SupportedOrmXsdVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingReader.SupportedOrmXsdVersion ORM_1_0
public static final MappingReader.SupportedOrmXsdVersion ORM_2_0
public static final MappingReader.SupportedOrmXsdVersion ORM_2_1
public static MappingReader.SupportedOrmXsdVersion[] values()
for (MappingReader.SupportedOrmXsdVersion c : MappingReader.SupportedOrmXsdVersion.values()) System.out.println(c);
public static MappingReader.SupportedOrmXsdVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static MappingReader.SupportedOrmXsdVersion parse(String name, Origin origin)
public URL getSchemaUrl()
public Schema getSchema()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.