com.mysema.query.codegen
Class Property
java.lang.Object
  
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,
         com.mysema.codegen.model.Type type,
         String[] inits,
         boolean inherited)
 
            | 
Property(EntityType declaringType,
         String name,
         com.mysema.codegen.model.Type type)
 
            | 
Property(EntityType declaringType,
         String name,
         com.mysema.codegen.model.Type type,
         String[] inits)
 
            | 
Property(EntityType declaringType,
         String name,
         com.mysema.codegen.model.Type type,
         String[] inits,
         boolean inherited)
 
            | 
 
 
 
Property
public Property(EntityType declaringType,
                String name,
                com.mysema.codegen.model.Type type)
Property
public Property(EntityType declaringType,
                String name,
                com.mysema.codegen.model.Type type,
                String[] inits)
Property
public Property(EntityType declaringType,
                String name,
                com.mysema.codegen.model.Type type,
                String[] inits,
                boolean inherited)
Property
public Property(EntityType declaringType,
                String name,
                String escapedName,
                com.mysema.codegen.model.Type type,
                String[] inits,
                boolean inherited)
addAnnotation
public void addAnnotation(Annotation annotation)
 
 
compareTo
public int compareTo(Property o)
- Specified by:
 compareTo in interface Comparable<Property>
 
 
createCopy
public Property createCopy(EntityType targetModel)
 
 
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> type)
 
 
getAnnotations
public Collection<Annotation> getAnnotations()
 
 
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 com.mysema.codegen.model.Type getParameter(int i)
 
 
getType
public com.mysema.codegen.model.Type getType()
 
 
isInherited
public boolean isInherited()
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.