org.springframework.roo.classpath.operations
Class Fetch

java.lang.Object
  extended by org.springframework.roo.classpath.operations.Fetch
All Implemented Interfaces:
Comparable<Fetch>

public class Fetch
extends Object
implements Comparable<Fetch>

Provides fetch type options for "set" relationships.

Since:
1.0
Author:
Ben Alex

Field Summary
static Fetch EAGER
           
static Fetch LAZY
           
 
Constructor Summary
Fetch(String key)
           
 
Method Summary
 int compareTo(Fetch o)
           
 boolean equals(Object obj)
           
 String getKey()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EAGER

public static final Fetch EAGER

LAZY

public static final Fetch LAZY
Constructor Detail

Fetch

public Fetch(String key)
Method Detail

getKey

public String getKey()

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

equals

public final boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public final int compareTo(Fetch o)
Specified by:
compareTo in interface Comparable<Fetch>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.