com.mysema.query.codegen
Class Property

java.lang.Object
  extended by com.mysema.query.codegen.Property
All Implemented Interfaces:
Comparable<Property>

@Immutable
public final class Property
extends Object
implements Comparable<Property>

Property represents a property in a query domain type.

Version:
$Id$
Author:
tiwe

Constructor Summary
Property(EntityType declaringType, String name, String escapedName, Type type, String[] inits, boolean inherited)
           
Property(EntityType declaringType, String name, Type type, String[] inits)
           
Property(EntityType declaringType, String name, Type type, String[] inits, boolean inherited)
           
 
Method Summary
 int compareTo(Property o)
           
 Property createCopy(EntityType model)
           
 boolean equals(Object o)
           
 EntityType getDeclaringType()
           
 String getEscapedName()
           
 String[] getInits()
           
 String getName()
           
 Type getParameter(int i)
           
 Type getType()
           
 int hashCode()
           
 boolean isInherited()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Property

public Property(EntityType declaringType,
                String name,
                Type type,
                String[] inits)

Property

public Property(EntityType declaringType,
                String name,
                Type type,
                String[] inits,
                boolean inherited)

Property

public Property(EntityType declaringType,
                String name,
                String escapedName,
                Type type,
                String[] inits,
                boolean inherited)
Method Detail

compareTo

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

createCopy

public Property createCopy(EntityType model)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getDeclaringType

public EntityType getDeclaringType()

getEscapedName

public String getEscapedName()

getInits

public String[] getInits()

getName

public String getName()

getParameter

public Type getParameter(int i)

getType

public Type getType()

isInherited

public boolean isInherited()

toString

public String toString()
Overrides:
toString in class Object


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