org.kuali.rice.kim.impl.identity
Class CodedAttributeHistoryBoUtil

java.lang.Object
  extended by org.kuali.rice.kim.impl.identity.CodedAttributeHistoryBoUtil

@MappedSuperclass
public abstract class CodedAttributeHistoryBoUtil
extends Object


Constructor Summary
CodedAttributeHistoryBoUtil()
           
 
Method Summary
static
<T extends CodedAttributeHistoryBoContract>
T
from(Class<T> type, CodedAttributeHistory immutable)
          Creates a CodedAttributeHistoryBo business object from an immutable representation of a CodedAttributeHistory.
static
<T extends CodedAttributeHistoryBoContract>
T
from(Class<T> type, CodedAttribute immutable, Timestamp fromDate, Timestamp toDate)
          Creates a CodedAttributeHistoryBo business object from an immutable representation of a CodedAttribute.
static
<T extends CodedAttributeHistoryContract>
CodedAttributeHistory
to(T bo)
          Converts a mutable CodedAttributeHistoryBo to an immutable CodedAttributeHistory representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodedAttributeHistoryBoUtil

public CodedAttributeHistoryBoUtil()
Method Detail

to

public static <T extends CodedAttributeHistoryContract> CodedAttributeHistory to(T bo)
Converts a mutable CodedAttributeHistoryBo to an immutable CodedAttributeHistory representation.

Parameters:
bo -
Returns:
an immutable CodedAttributeHistory

from

public static <T extends CodedAttributeHistoryBoContract> T from(Class<T> type,
                                                                 CodedAttributeHistory immutable)
Creates a CodedAttributeHistoryBo business object from an immutable representation of a CodedAttributeHistory.

Parameters:
immutable - an immutable CodedAttribute
Returns:
an object extending from CodedAttributeBo

from

public static <T extends CodedAttributeHistoryBoContract> T from(Class<T> type,
                                                                 CodedAttribute immutable,
                                                                 Timestamp fromDate,
                                                                 Timestamp toDate)
Creates a CodedAttributeHistoryBo business object from an immutable representation of a CodedAttribute.

Parameters:
type - class of object extending from codedAttributeHistoryBo
immutable - an immutable CodedAttribute
fromDate - starting date of historical record
fromDate - ending date of historical record
Returns:
an object extending CodedAttributeHistoryBo


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