com.mysema.query.codegen
Class PropertyModel
java.lang.Object
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
PropertyModel
public PropertyModel(EntityModel classModel,
String name,
TypeModel type,
String[] inits)
PropertyModel
public PropertyModel(EntityModel classModel,
String name,
TypeModel type,
String[] inits,
boolean inherited)
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
getEscapedName
public String getEscapedName()
getInits
public String[] getInits()
getEntityModel
public EntityModel getEntityModel()
getName
public String getName()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isInherited
public boolean isInherited()
toString
public String toString()
- Overrides:
toString
in class Object
getParameter
public TypeModel getParameter(int i)
getType
public TypeModel getType()
Copyright © 2007-2009 Mysema Ltd. All Rights Reserved.