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

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

Field Detail

ms

private MessageStructure ms

writer

private JavaClassWriter writer

model

private ServiceContractModel model
Constructor Detail

GetterSetterNameCalculator

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

calcGetter

public String calcGetter()

calcSetter

public String calcSetter()

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 © 2007-2012 The Kuali Foundation. All Rights Reserved.