|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcom.hack23.cia.model.impl.common.BaseEntity
com.hack23.cia.model.impl.common.AbstractResource
@Entity public abstract class AbstractResource extends BaseEntity implements ApplicationResource
The Class AbstractResource.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractResource(ResourceType resourceType)
Instantiates a new abstract resource. |
| Modifier and Type | Method and Description |
|---|---|
Long |
getId()
Gets the id. |
ResourceType |
getResourceType()
Gets the resource type. |
Long |
getVersion()
Gets the version. |
void |
setId(Long id)
Sets the id. |
void |
setResourceType(ResourceType resourceType)
Sets the resource type. |
void |
setVersion(Long version)
Sets the version. |
| Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity |
|---|
equals, getApplicationTypeContext, getTypeContext, hashCode, isNew |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject |
|---|
getTypeContext, isNew |
| Constructor Detail |
|---|
protected AbstractResource(ResourceType resourceType)
resourceType - the resource type| Method Detail |
|---|
public Long getId()
BaseEntity
getId in interface PersistedModelObjectgetId in class BaseEntitypublic ResourceType getResourceType()
Resource
getResourceType in interface Resourcepublic Long getVersion()
BaseEntity
getVersion in interface PersistedModelObjectgetVersion in class BaseEntitypublic void setId(Long id)
PersistedModelObject
setId in interface PersistedModelObjectid - the new idpublic void setResourceType(ResourceType resourceType)
resourceType - the new resource typepublic void setVersion(Long version)
PersistedModelObject
setVersion in interface PersistedModelObjectversion - the new version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||