org.apache.bval.jsr303.groups
Class Group

java.lang.Object
  extended by org.apache.bval.jsr303.groups.Group

public final class Group
extends Object

Immutable object that wraps an interface representing a single group.


Field Summary
static Group DEFAULT
          the Default Group
 
Constructor Summary
Group(Class<?> group)
          Create a new Group instance.
 
Method Summary
 boolean equals(Object o)
          
 Class<?> getGroup()
          Get the actual group class.
 int hashCode()
          
 boolean isDefault()
          Learn whether the group represented is the default group.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT

public static final Group DEFAULT
the Default Group

Constructor Detail

Group

public Group(Class<?> group)
Create a new Group instance.

Parameters:
group -
Method Detail

getGroup

public Class<?> getGroup()
Get the actual group class.

Returns:

toString

public String toString()

Overrides:
toString in class Object

isDefault

public boolean isDefault()
Learn whether the group represented is the default group.

Returns:
boolean

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object


Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.