com.mysema.query.codegen
Class PropertyModel

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

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

PropertyModel represents a property in a query domain type.

Version:
$Id$
Author:
tiwe

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

Constructor Detail

PropertyModel

public PropertyModel(EntityModel context,
                     String name,
                     TypeModel type,
                     String[] inits)

PropertyModel

public PropertyModel(EntityModel context,
                     String name,
                     TypeModel type,
                     String[] inits,
                     boolean inherited)

PropertyModel

public PropertyModel(EntityModel context,
                     String name,
                     String escapedName,
                     TypeModel type,
                     String[] inits,
                     boolean inherited)
Method Detail

compareTo

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

createCopy

public PropertyModel createCopy(EntityModel model)

equals

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

getContext

public EntityModel getContext()

getEscapedName

public String getEscapedName()

getInits

public String[] getInits()

getName

public String getName()

getParameter

public TypeModel getParameter(int i)

getType

public TypeModel getType()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isInherited

public boolean isInherited()

toString

public String toString()
Overrides:
toString in class Object


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