public enum ClusteringSchema extends Enum<ClusteringSchema> implements Schema<ClusteringSchema>
Enum Constant and Description |
---|
VERSION_1_0 |
VERSION_1_1 |
Modifier and Type | Method and Description |
---|---|
String |
getNamespaceUri()
Get the namespace URI of this schema.
|
int |
major() |
int |
minor() |
static ClusteringSchema |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusteringSchema[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusteringSchema VERSION_1_0
public static final ClusteringSchema VERSION_1_1
public static ClusteringSchema[] values()
for (ClusteringSchema c : ClusteringSchema.values()) System.out.println(c);
public static ClusteringSchema 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 int major()
major
in interface Schema<ClusteringSchema>
public int minor()
minor
in interface Schema<ClusteringSchema>
public String getNamespaceUri()
Schema
getNamespaceUri
in interface Schema<ClusteringSchema>
Copyright © 2016 JBoss by Red Hat. All rights reserved.