org.kuali.student.common.ui.client.mvc.dto
Class ReferenceModel

java.lang.Object
  extended by org.kuali.student.common.ui.client.mvc.dto.ReferenceModel
All Implemented Interfaces:
HasReferenceId, Model

public class ReferenceModel
extends Object
implements HasReferenceId, Model

A small model that contains id, type, and state

Author:
Kuali Student Team

Constructor Summary
ReferenceModel()
           
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addModelChangeHandler(ModelChangeHandler handler)
          Adds a ModelChangeHandler that will be invoked for ModelChangeEvents
 Map<String,String> getReferenceAttributes()
           
 String getReferenceId()
           
 String getReferenceState()
           
 String getReferenceType()
           
 String getReferenceTypeKey()
           
 void setReferenceAttributes(Map<String,String> referenceAttributes)
           
 void setReferenceId(String id)
           
 void setReferenceState(String referenceState)
           
 void setReferenceType(String referenceType)
           
 void setReferenceTypeKey(String referenceTypeKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceModel

public ReferenceModel()
Method Detail

addModelChangeHandler

public com.google.gwt.event.shared.HandlerRegistration addModelChangeHandler(ModelChangeHandler handler)
Description copied from interface: Model
Adds a ModelChangeHandler that will be invoked for ModelChangeEvents

Specified by:
addModelChangeHandler in interface Model
Parameters:
handler - the handler to add
Returns:
HandlerRegistration that can be used to unregister the handler later

setReferenceId

public void setReferenceId(String id)
Specified by:
setReferenceId in interface HasReferenceId
See Also:
HasReferenceId.setReferenceId(java.lang.String)

getReferenceId

public String getReferenceId()
Specified by:
getReferenceId in interface HasReferenceId
See Also:
org.kuali.student.common.ui.client.configurable.mvc.HasReferenceId#setReferenceKey(java.lang.String)

getReferenceTypeKey

public String getReferenceTypeKey()
Specified by:
getReferenceTypeKey in interface HasReferenceId

setReferenceTypeKey

public void setReferenceTypeKey(String referenceTypeKey)
Specified by:
setReferenceTypeKey in interface HasReferenceId

getReferenceType

public String getReferenceType()
Specified by:
getReferenceType in interface HasReferenceId

setReferenceType

public void setReferenceType(String referenceType)
Specified by:
setReferenceType in interface HasReferenceId

getReferenceState

public String getReferenceState()
Specified by:
getReferenceState in interface HasReferenceId

setReferenceState

public void setReferenceState(String referenceState)
Specified by:
setReferenceState in interface HasReferenceId

getReferenceAttributes

public Map<String,String> getReferenceAttributes()

setReferenceAttributes

public void setReferenceAttributes(Map<String,String> referenceAttributes)


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