org.kuali.student.contract.writer.service
Class GetterSetterNameCalculator

java.lang.Object
  extended by org.kuali.student.contract.writer.service.GetterSetterNameCalculator

public class GetterSetterNameCalculator
extends Object

Author:
nwright

Constructor Summary
GetterSetterNameCalculator(MessageStructure ms, JavaClassWriter writer, ServiceContractModel model)
           
 
Method Summary
 String calcFieldTypeToUse(String type)
           
 String calcGetter()
          Returns the name of the getter method.
static String calcInitLower(String name)
           
static String calcInitUpper(String name)
           
 String calcSetter()
          Returns the name of the setter method.
static String dot2Camel(String name)
           
static String stripList(String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetterSetterNameCalculator

public GetterSetterNameCalculator(MessageStructure ms,
                                  JavaClassWriter writer,
                                  ServiceContractModel model)
Method Detail

calcGetter

public String calcGetter()
Returns the name of the getter method.


calcSetter

public String calcSetter()
Returns the name of the setter method.


dot2Camel

public static String dot2Camel(String name)

calcInitUpper

public static String calcInitUpper(String name)

calcInitLower

public static String calcInitLower(String name)

calcFieldTypeToUse

public String calcFieldTypeToUse(String type)

stripList

public static String stripList(String str)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.