com.jdon.domain.model.cache
类 ModelKey

java.lang.Object
  继承者 com.jdon.domain.model.cache.ModelKey

public class ModelKey
extends Object

用于实现Model缓存的Key

Copyright: Jdon.com Copyright (c) 2005

版本:
JdonFramework 2005 v1.0
作者:
banq

构造方法摘要
ModelKey(Object dataKey, Class modelClass)
           
ModelKey(Object dataKey, String formName)
           
 
方法摘要
 Object getDataKey()
           
 String getFormName()
           
 Class getModelClass()
           
 void setDataKey(Object dataKey)
           
 void setFormName(String formName)
           
 void setModelClass(Class modelClass)
           
 String toString()
          最好不使用本方法,容易和真正的CacheKey混淆
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

ModelKey

public ModelKey(Object dataKey,
                String formName)

ModelKey

public ModelKey(Object dataKey,
                Class modelClass)
方法详细信息

getDataKey

public Object getDataKey()

getFormName

public String getFormName()

getModelClass

public Class getModelClass()

setDataKey

public void setDataKey(Object dataKey)

setFormName

public void setFormName(String formName)

setModelClass

public void setModelClass(Class modelClass)

toString

public String toString()
最好不使用本方法,容易和真正的CacheKey混淆

覆盖:
Object 中的 toString
返回:
String


Copyright © 2013. All Rights Reserved.