ontopoly.models
Class RoleFieldModel

java.lang.Object
  extended by org.apache.wicket.model.LoadableDetachableModel<RoleField>
      extended by ontopoly.models.RoleFieldModel
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<RoleField>

public class RoleFieldModel
extends org.apache.wicket.model.LoadableDetachableModel<RoleField>

See Also:
Serialized Form

Constructor Summary
RoleFieldModel(RoleField roleField)
           
RoleFieldModel(java.lang.String topicMapId, java.lang.String fieldId)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 RoleField getRoleField()
           
 int hashCode()
           
protected  RoleField load()
           
static java.util.List<RoleFieldModel> wrapInRoleFieldModels(java.util.Collection<RoleField> roleFields)
           
 
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
detach, getObject, isAttached, onAttach, onDetach, setObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoleFieldModel

public RoleFieldModel(RoleField roleField)

RoleFieldModel

public RoleFieldModel(java.lang.String topicMapId,
                      java.lang.String fieldId)
Method Detail

getRoleField

public RoleField getRoleField()

load

protected RoleField load()
Specified by:
load in class org.apache.wicket.model.LoadableDetachableModel<RoleField>

wrapInRoleFieldModels

public static java.util.List<RoleFieldModel> wrapInRoleFieldModels(java.util.Collection<RoleField> roleFields)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2000-2012 Ontopia.