org.kuali.student.common.assembly
Class AddOneAssembler

java.lang.Object
  extended by org.kuali.student.common.assembly.AddOneAssembler
All Implemented Interfaces:
Assembler<Integer,Integer>

public class AddOneAssembler
extends Object
implements Assembler<Integer,Integer>


Field Summary
(package private)  Logger LOG
           
 
Constructor Summary
AddOneAssembler()
           
 
Method Summary
 Integer assemble(Integer input)
           
 Integer disassemble(Integer input)
           
 Integer get(String id)
           
 Metadata getDefaultMetadata()
           
 Metadata getMetadata(String idType, String id, String type, String state)
           
 SaveResult<Integer> save(Integer input)
           
 List<ValidationResultInfo> validate(Integer input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

final Logger LOG
Constructor Detail

AddOneAssembler

public AddOneAssembler()
Method Detail

assemble

public Integer assemble(Integer input)
                 throws AssemblyException
Specified by:
assemble in interface Assembler<Integer,Integer>
Throws:
AssemblyException

disassemble

public Integer disassemble(Integer input)
                    throws AssemblyException
Specified by:
disassemble in interface Assembler<Integer,Integer>
Throws:
AssemblyException

get

public Integer get(String id)
            throws AssemblyException
Specified by:
get in interface Assembler<Integer,Integer>
Throws:
AssemblyException

getMetadata

public Metadata getMetadata(String idType,
                            String id,
                            String type,
                            String state)
                     throws AssemblyException
Specified by:
getMetadata in interface Assembler<Integer,Integer>
Throws:
AssemblyException

save

public SaveResult<Integer> save(Integer input)
                         throws AssemblyException
Specified by:
save in interface Assembler<Integer,Integer>
Throws:
AssemblyException

validate

public List<ValidationResultInfo> validate(Integer input)
                                    throws AssemblyException
Specified by:
validate in interface Assembler<Integer,Integer>
Throws:
AssemblyException

getDefaultMetadata

public Metadata getDefaultMetadata()
                            throws AssemblyException
Specified by:
getDefaultMetadata in interface Assembler<Integer,Integer>
Throws:
AssemblyException


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