Package com.jalios.jcms.datainfos
Class DataInfos<T extends Data,E extends DataInfos<T,E>>
- java.lang.Object
-
- com.jalios.jcms.datainfos.DataInfos<T,E>
-
- Direct Known Subclasses:
MediaInfos
,MemberInfos
public abstract class DataInfos<T extends Data,E extends DataInfos<T,E>> extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doInitDefaultData(java.lang.String dataId)
protected abstract void
doInitReadableData(T data)
boolean
equals(java.lang.Object obj)
protected java.lang.Class<T>
getDataClass()
protected java.lang.String
getDataId()
protected Member
getMember()
protected abstract E
getThis()
java.lang.String
getType()
int
hashCode()
boolean
isDataReadable()
void
setType(java.lang.String type)
-
-
-
Constructor Detail
-
DataInfos
public DataInfos()
-
DataInfos
public DataInfos(java.lang.String dataId, Member member)
-
-
Method Detail
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
isDataReadable
public boolean isDataReadable()
-
getDataClass
protected java.lang.Class<T> getDataClass()
-
getDataId
protected java.lang.String getDataId()
-
getMember
protected Member getMember()
-
getThis
protected abstract E getThis()
-
doInitReadableData
protected abstract void doInitReadableData(T data)
-
doInitDefaultData
protected abstract void doInitDefaultData(java.lang.String dataId)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-