com.hack23.cia.model.impl.sweden.content
Class ParliamentDocumentType

Package class diagram package ParliamentDocumentType
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.sweden.content.ParliamentDocumentType
All Implemented Interfaces:
Data, ModelObject, PersistedModelObject, Resource, ImportedData, ParliamentMappedData, ParliamentDocumentTypeData, Serializable

@Entity
public class ParliamentDocumentType
extends BaseEntity
implements ParliamentDocumentTypeData

The Class ParliamentDocumentType.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Interface and Description
 
Nested classes/interfaces inherited from interface com.hack23.cia.model.api.sweden.common.ImportedData
ImportedData.ImportStatus
 
Constructor Summary
Constructor and Description
ParliamentDocumentType()
          Instantiates a new parliament document type.
 
Method Summary
Modifier and Type Method and Description
 boolean dataCanBeUpdated()
          Data can be updated.
 boolean generatesParliamentMetaData()
          Generates parliament meta data.
protected  TypeContext getApplicationTypeContext()
          Gets the application type context.
 boolean getDataCompleted()
          Gets the data completed.
 boolean getDataUpdating()
          Gets the data updating.
 Long getId()
          Gets the id.
 boolean getImportData()
          Gets the import data.
 Date getImportedDate()
          Gets the imported date.
 ImportedData.ImportStatus getImportStatus()
          Gets the import status.
 String getName()
          Gets the name.
 ParliamentMetaData getParliamentMetaData()
          Gets the parliament meta data.
 ResourceType getResourceType()
          Gets the resource type.
 String getShortCode()
          Gets the short code.
 Long getVersion()
          Gets the version.
 void setDataCompleted(boolean dataCompleted)
          Sets the data completed.
 void setDataUpdating(boolean dataUpdating)
          Sets the data updating.
 void setId(Long id)
          Sets the id.
 void setImportData(boolean importData)
          Sets the import data.
 void setImportedDate(Date importedDate)
          Sets the imported date.
 void setImportStatus(ImportedData.ImportStatus importStatus)
          Sets the import status.
 void setName(String name)
          Sets the name.
 void setResourceType(ResourceType resourceType)
          Sets the resource type.
 void setShortCode(String shortCode)
          Sets the short code.
 void setVersion(Long version)
          Sets the version.
 
Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity
equals, 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

ParliamentDocumentType

public ParliamentDocumentType()
Instantiates a new parliament document type.

Method Detail

dataCanBeUpdated

public boolean dataCanBeUpdated()
Description copied from interface: ParliamentMappedData
Data can be updated.

Specified by:
dataCanBeUpdated in interface ParliamentMappedData
Returns:
true, if successful

generatesParliamentMetaData

public boolean generatesParliamentMetaData()
Description copied from interface: ParliamentMappedData
Generates parliament meta data.

Specified by:
generatesParliamentMetaData in interface ParliamentMappedData
Returns:
true, if successful

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application type context.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application type context

getDataCompleted

public boolean getDataCompleted()
Gets the data completed.

Returns:
the data completed

getDataUpdating

public boolean getDataUpdating()
Gets the data updating.

Returns:
the data updating

getId

public Long getId()
Description copied from class: BaseEntity
Gets the id.

Specified by:
getId in interface PersistedModelObject
Specified by:
getId in class BaseEntity
Returns:
the id

getImportData

public boolean getImportData()
Gets the import data.

Returns:
the import data

getImportedDate

public Date getImportedDate()
Description copied from interface: ImportedData
Gets the imported date.

Specified by:
getImportedDate in interface ImportedData
Returns:
the imported date

getImportStatus

public ImportedData.ImportStatus getImportStatus()
Description copied from interface: ImportedData
Gets the import status.

Specified by:
getImportStatus in interface ImportedData
Returns:
the import status

getName

public String getName()
Gets the name.

Returns:
the name

getParliamentMetaData

public ParliamentMetaData getParliamentMetaData()
Description copied from interface: ParliamentMappedData
Gets the parliament meta data.

Specified by:
getParliamentMetaData in interface ParliamentMappedData
Returns:
the parliament meta data

getResourceType

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

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

getShortCode

public String getShortCode()
Gets the short code.

Returns:
the short code

getVersion

public Long getVersion()
Description copied from class: BaseEntity
Gets the version.

Specified by:
getVersion in interface PersistedModelObject
Specified by:
getVersion in class BaseEntity
Returns:
the version

setDataCompleted

public void setDataCompleted(boolean dataCompleted)
Sets the data completed.

Parameters:
dataCompleted - the new data completed

setDataUpdating

public void setDataUpdating(boolean dataUpdating)
Sets the data updating.

Parameters:
dataUpdating - the new data updating

setId

public void setId(Long id)
Description copied from interface: PersistedModelObject
Sets the id.

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

setImportData

public void setImportData(boolean importData)
Sets the import data.

Parameters:
importData - the new import data

setImportedDate

public void setImportedDate(Date importedDate)
Description copied from interface: ImportedData
Sets the imported date.

Specified by:
setImportedDate in interface ImportedData
Parameters:
importedDate - the new imported date

setImportStatus

public void setImportStatus(ImportedData.ImportStatus importStatus)
Description copied from interface: ImportedData
Sets the import status.

Specified by:
setImportStatus in interface ImportedData
Parameters:
importStatus - the new import status

setName

public void setName(String name)
Sets the name.

Parameters:
name - the new name

setResourceType

public void setResourceType(ResourceType resourceType)
Sets the resource type.

Parameters:
resourceType - the new resource type

setShortCode

public void setShortCode(String shortCode)
Sets the short code.

Parameters:
shortCode - the new short code

setVersion

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

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


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