com.hyper9.simdk.codegen.impls
Class MetaPropertyImpl

java.lang.Object
  extended by com.hyper9.simdk.codegen.impls.MetaPropertyImpl
All Implemented Interfaces:
MetaProperty, Comparable<MetaProperty>

public class MetaPropertyImpl
extends Object
implements MetaProperty


Constructor Summary
MetaPropertyImpl(MetaType metaType)
           
 
Method Summary
 int compareTo(MetaProperty toCompare)
           
 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaPropertyImpl

public MetaPropertyImpl(MetaType metaType)
Method Detail

getMetaType

public MetaType getMetaType()
Description copied from interface: MetaProperty
Get the MetaType that this MetaProperty belongs to.

Specified by:
getMetaType in interface MetaProperty

getName

public String getName()
Description copied from interface: MetaProperty
Gets the name of the meta property.

Specified by:
getName in interface MetaProperty
Returns:
The name of the meta property.

getOrder

public int getOrder()
Description copied from interface: MetaProperty
Gets the meta property's order.

Specified by:
getOrder in interface MetaProperty
Returns:
The meta property's order.

getOutType

public OutType getOutType()
Description copied from interface: MetaProperty
Gets the meta property's Out type.

Specified by:
getOutType in interface MetaProperty
Returns:
The meta property's Out type.

setName

public void setName(String toSet)
Description copied from interface: MetaProperty
Sets the name of the meta property.

Specified by:
setName in interface MetaProperty
Parameters:
toSet - The name of the meta property.

setOrder

public void setOrder(int toSet)
Description copied from interface: MetaProperty
Sets the meta property's order.

Specified by:
setOrder in interface MetaProperty
Parameters:
toSet - The meta property's order.

setOutType

public void setOutType(OutType toSet)
Description copied from interface: MetaProperty
Sets the meta property's Out type.

Specified by:
setOutType in interface MetaProperty
Parameters:
toSet - The meta property's Out type.

compareTo

public int compareTo(MetaProperty toCompare)
Specified by:
compareTo in interface Comparable<MetaProperty>

getColumnName

public String getColumnName()
Description copied from interface: MetaProperty
Gets the name of this property's column.

Specified by:
getColumnName in interface MetaProperty
Returns:
The name of this property's column.

getMapping

public PropertyMapping getMapping()
Description copied from interface: MetaProperty
Gets this property's mapping.

Specified by:
getMapping in interface MetaProperty
Returns:
This property's mapping.

setMapping

public void setMapping(PropertyMapping toSet)
Description copied from interface: MetaProperty
Sets this property's mapping.

Specified by:
setMapping in interface MetaProperty
Parameters:
toSet - This property's mapping.

getGetterAnnotations

public List<String> getGetterAnnotations()
Description copied from interface: MetaProperty
Gets a list of the property's getter annotations.

Specified by:
getGetterAnnotations in interface MetaProperty
Returns:
A list of the property's getter annotations.

getFieldAnnotations

public List<String> getFieldAnnotations()
Description copied from interface: MetaProperty
Gets a list of the property's field annotations.

Specified by:
getFieldAnnotations in interface MetaProperty
Returns:
A list of the property's field annotations.


Copyright © 2009-2010 Hyper9. All Rights Reserved.