org.kuali.student.contract.model.test.source
Class MetaInfo.Builder

java.lang.Object
  extended by org.kuali.student.contract.model.test.source.MetaInfo.Builder
All Implemented Interfaces:
Meta, ModelBuilder<MetaInfo>
Enclosing class:
MetaInfo

public static class MetaInfo.Builder
extends Object
implements ModelBuilder<MetaInfo>, Meta


Field Summary
private  String createId
           
private  Date createTime
           
private  String updateId
           
private  Date updateTime
           
private  String versionInd
           
 
Constructor Summary
MetaInfo.Builder()
           
MetaInfo.Builder(Meta metaInfo)
           
 
Method Summary
 MetaInfo build()
           
 String getCreateId()
          Name: Create Id The principal who created the thing being described with this meta information
 Date getCreateTime()
          Name: Create Time The date and time the thing being described with this meta information was last updated
 String getUpdateId()
          Name: Update Id The principal who last updated the thing being described with this meta information
 Date getUpdateTime()
          Name: Update Time The date and time the thing being described with this meta information was last updated
 String getVersionInd()
          Name: Version Indicator This is the field used for optimistic locking.
 void setCreateId(String createId)
           
 void setCreateTime(Date createTime)
           
 void setUpdateId(String updateId)
           
 void setUpdateTime(Date updateTime)
           
 void setVersionInd(String versionInd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionInd

private String versionInd

createTime

private Date createTime

createId

private String createId

updateTime

private Date updateTime

updateId

private String updateId
Constructor Detail

MetaInfo.Builder

public MetaInfo.Builder()

MetaInfo.Builder

public MetaInfo.Builder(Meta metaInfo)
Method Detail

build

public MetaInfo build()
Specified by:
build in interface ModelBuilder<MetaInfo>

getVersionInd

public String getVersionInd()
Description copied from interface: Meta
Name: Version Indicator This is the field used for optimistic locking. An indicator of the version of the thing being described with this meta information. This is set by the service implementation and will be used to determine conflicts in updates.

Specified by:
getVersionInd in interface Meta

getCreateTime

public Date getCreateTime()
Description copied from interface: Meta
Name: Create Time The date and time the thing being described with this meta information was last updated

Specified by:
getCreateTime in interface Meta

getCreateId

public String getCreateId()
Description copied from interface: Meta
Name: Create Id The principal who created the thing being described with this meta information

Specified by:
getCreateId in interface Meta

getUpdateTime

public Date getUpdateTime()
Description copied from interface: Meta
Name: Update Time The date and time the thing being described with this meta information was last updated

Specified by:
getUpdateTime in interface Meta

getUpdateId

public String getUpdateId()
Description copied from interface: Meta
Name: Update Id The principal who last updated the thing being described with this meta information

Specified by:
getUpdateId in interface Meta

setVersionInd

public void setVersionInd(String versionInd)

setCreateTime

public void setCreateTime(Date createTime)

setCreateId

public void setCreateId(String createId)

setUpdateTime

public void setUpdateTime(Date updateTime)

setUpdateId

public void setUpdateId(String updateId)


Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.