com.hyper9.simdk.codegen.types
Interface MetaProperty

All Superinterfaces:
Comparable<MetaProperty>
All Known Implementing Classes:
MetaPropertyImpl

public interface MetaProperty
extends Comparable<MetaProperty>

A property for a MetaBean.

Author:
akutz

Method Summary
 String getColumnName()
          Gets the name of this property's column.
 List<String> getFieldAnnotations()
          Gets a list of the property's field annotations.
 List<String> getGetterAnnotations()
          Gets a list of the property's getter annotations.
 PropertyMapping getMapping()
          Gets this property's mapping.
 MetaType getMetaType()
          Get the MetaType that this MetaProperty belongs to.
 String getName()
          Gets the name of the meta property.
 int getOrder()
          Gets the meta property's order.
 OutType getOutType()
          Gets the meta property's Out type.
 void setMapping(PropertyMapping toSet)
          Sets this property's mapping.
 void setName(String toSet)
          Sets the name of the meta property.
 void setOrder(int toSet)
          Sets the meta property's order.
 void setOutType(OutType toSet)
          Sets the meta property's Out type.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getMetaType

MetaType getMetaType()
Get the MetaType that this MetaProperty belongs to.


getName

String getName()
Gets the name of the meta property.

Returns:
The name of the meta property.

setName

void setName(String toSet)
Sets the name of the meta property.

Parameters:
toSet - The name of the meta property.

getOutType

OutType getOutType()
Gets the meta property's Out type.

Returns:
The meta property's Out type.

setOutType

void setOutType(OutType toSet)
Sets the meta property's Out type.

Parameters:
toSet - The meta property's Out type.

getOrder

int getOrder()
Gets the meta property's order.

Returns:
The meta property's order.

setOrder

void setOrder(int toSet)
Sets the meta property's order.

Parameters:
toSet - The meta property's order.

getColumnName

String getColumnName()
Gets the name of this property's column.

Returns:
The name of this property's column.

getMapping

PropertyMapping getMapping()
Gets this property's mapping.

Returns:
This property's mapping.

setMapping

void setMapping(PropertyMapping toSet)
Sets this property's mapping.

Parameters:
toSet - This property's mapping.

getGetterAnnotations

List<String> getGetterAnnotations()
Gets a list of the property's getter annotations.

Returns:
A list of the property's getter annotations.

getFieldAnnotations

List<String> getFieldAnnotations()
Gets a list of the property's field annotations.

Returns:
A list of the property's field annotations.


Copyright © 2009-2010 Hyper9. All Rights Reserved.