org.springframework.roo.classpath.itd
Class ItdProviderRole

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

public class ItdProviderRole
extends Object
implements Comparable<ItdProviderRole>

Indicates a role that other ItdMetadataProviders may wish to discover.

Since:
1.0
Author:
Ben Alex

Field Summary
static ItdProviderRole ACCESSOR_MUTATOR
           
 
Constructor Summary
ItdProviderRole(String name)
          Creates a name with the specified string.
 
Method Summary
 int compareTo(ItdProviderRole o)
           
 boolean equals(Object obj)
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ACCESSOR_MUTATOR

public static final ItdProviderRole ACCESSOR_MUTATOR
Constructor Detail

ItdProviderRole

public ItdProviderRole(String name)
Creates a name with the specified string.

Parameters:
name - the name (required)
Method Detail

getName

public String getName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

compareTo

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

toString

public final String toString()
Overrides:
toString in class Object


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