Class BranchIdModel

java.lang.Object
org.hippoecm.frontend.model.BranchIdModel
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<IModelReference<org.apache.commons.lang3.tuple.Pair<String,String>>>, org.apache.wicket.util.io.IClusterable

public class BranchIdModel extends Object implements org.apache.wicket.model.IModel<IModelReference<org.apache.commons.lang3.tuple.Pair<String,String>>>
See Also:
  • Constructor Details

    • BranchIdModel

      public BranchIdModel()
    • BranchIdModel

      public BranchIdModel(IPluginContext context, String handleIdentifier)
  • Method Details

    • getObject

      public IModelReference<org.apache.commons.lang3.tuple.Pair<String,String>> getObject()
      Specified by:
      getObject in interface org.apache.wicket.model.IModel<IModelReference<org.apache.commons.lang3.tuple.Pair<String,String>>>
    • setObject

      public void setObject(IModelReference<org.apache.commons.lang3.tuple.Pair<String,String>> object)
      Specified by:
      setObject in interface org.apache.wicket.model.IModel<IModelReference<org.apache.commons.lang3.tuple.Pair<String,String>>>
    • getBranchId

      public String getBranchId()
    • getBranchName

      public String getBranchName()
    • getBranchInfo

      public org.apache.commons.lang3.tuple.Pair<String,String> getBranchInfo()
    • setBranchInfo

      public void setBranchInfo(String branchId, String branchName)
    • setInitialBranchInfo

      public void setInitialBranchInfo(String branchId, String branchName)
    • destroy

      public void destroy()
    • detach

      public void detach()
      Detaches model after use. This is generally used to null out transient references that can be re-attached later.
      Specified by:
      detach in interface org.apache.wicket.model.IDetachable
      Specified by:
      detach in interface org.apache.wicket.model.IModel<IModelReference<org.apache.commons.lang3.tuple.Pair<String,String>>>
    • initialize

      public static BranchIdModel initialize(IPluginContext context, Node documentHandleNode) throws RepositoryException
      Throws:
      RepositoryException
    • isDefined

      public boolean isDefined()