com.hack23.cia.model.core.api
Interface ApplicationResource

Package class diagram package ApplicationResource
All Superinterfaces:
ModelObject, PersistedModelObject, Resource, Serializable
All Known Subinterfaces:
Configuration, Content
All Known Implementing Classes:
AbstractAgencyConfiguration, AbstractResource, ImageContent, Language, LanguageContent, Portal

public interface ApplicationResource
extends Resource

The Interface ApplicationResource.


Method Summary
 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 interface com.hack23.cia.model.core.api.PersistedModelObject
isNew
 

Method Detail

getId

Long getId()
Description copied from interface: PersistedModelObject
Gets the id.

Specified by:
getId in interface PersistedModelObject
Specified by:
getId in interface Resource
Returns:
the id

getResourceType

ResourceType getResourceType()
Description copied from interface: Resource
Gets the resource type.

Specified by:
getResourceType in interface Resource
Returns:
the resource type

getVersion

Long getVersion()
Description copied from interface: PersistedModelObject
Gets the version.

Specified by:
getVersion in interface PersistedModelObject
Specified by:
getVersion in interface Resource
Returns:
the version

setId

void setId(Long id)
Sets the id.

Specified by:
setId in interface PersistedModelObject
Specified by:
setId in interface Resource
Parameters:
id - the new id

setResourceType

void setResourceType(ResourceType resourceType)
Description copied from interface: Resource
Sets the resource type.

Specified by:
setResourceType in interface Resource
Parameters:
resourceType - the new resource type

setVersion

void setVersion(Long version)
Description copied from interface: PersistedModelObject
Sets the version.

Specified by:
setVersion in interface PersistedModelObject
Specified by:
setVersion in interface Resource
Parameters:
version - the new version


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.