com.mysema.query.types
Class OperatorImpl<RT>

java.lang.Object
  extended by com.mysema.query.types.OperatorImpl<RT>
All Implemented Interfaces:
Operator<RT>, Serializable

@Immutable
public class OperatorImpl<RT>
extends Object
implements Operator<RT>

OperatorImpl is the default implementation of the Operator interface

See Also:
Serialized Form

Constructor Summary
OperatorImpl(String id, Class<?>... types)
           
OperatorImpl(String id, List<Class<?>> types)
           
 
Method Summary
 boolean equals(Object o)
           
 String getId()
          Get the unique id for this Operator
 List<Class<?>> getTypes()
          Get the types related to this operator symbols
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperatorImpl

public OperatorImpl(String id,
                    Class<?>... types)

OperatorImpl

public OperatorImpl(String id,
                    List<Class<?>> types)
Method Detail

getId

public String getId()
Description copied from interface: Operator
Get the unique id for this Operator

Specified by:
getId in interface Operator<RT>
Returns:

getTypes

public List<Class<?>> getTypes()
Description copied from interface: Operator
Get the types related to this operator symbols

Specified by:
getTypes in interface Operator<RT>
Returns:

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.