com.hack23.cia.model.impl.application.common
Class AbstractAgencyConfiguration

Package class diagram package AbstractAgencyConfiguration
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.common.AbstractResource
          extended by com.hack23.cia.model.impl.application.common.AbstractApplicationResource
              extended by com.hack23.cia.model.impl.application.common.AbstractAgencyConfiguration
All Implemented Interfaces:
Configuration, ApplicationResource, ModelObject, PersistedModelObject, Resource, Serializable
Direct Known Subclasses:
Language, Portal

@Entity
public abstract class AbstractAgencyConfiguration
extends AbstractApplicationResource
implements Configuration

The Class AbstractAgencyConfiguration.

See Also:
Serialized Form

Constructor Summary
protected AbstractAgencyConfiguration(ResourceType resourceType)
          Instantiates a new abstract agency configuration.
 
Method Summary
 boolean getActiveByDefault()
          Gets the active by default.
protected  TypeContext getApplicationTypeContext()
          Gets the application group specification.
 String getName()
          Gets the name.
 int getUsageOrder()
          Gets the usage order.
 void setActiveByDefault(boolean activeByDefault)
          Sets the active by default.
 void setName(String name)
          Sets the name.
 void setUsageOrder(int usageOrder)
          Sets the usage order.
 
Methods inherited from class com.hack23.cia.model.impl.common.AbstractResource
getId, getResourceType, getVersion, setId, setResourceType, setVersion
 
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.Resource
getResourceType
 
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject
getId, getTypeContext, getVersion, isNew, setId, setVersion
 

Constructor Detail

AbstractAgencyConfiguration

protected AbstractAgencyConfiguration(ResourceType resourceType)
Instantiates a new abstract agency configuration.

Parameters:
resourceType - the resource type
Method Detail

getActiveByDefault

public boolean getActiveByDefault()
Description copied from interface: Configuration
Gets the active by default.

Specified by:
getActiveByDefault in interface Configuration
Returns:
the active by default

getName

public String getName()
Description copied from interface: Configuration
Gets the name.

Specified by:
getName in interface Configuration
Returns:
the name

getUsageOrder

public int getUsageOrder()
Description copied from interface: Configuration
Gets the usage order.

Specified by:
getUsageOrder in interface Configuration
Returns:
the usage order

setActiveByDefault

public void setActiveByDefault(boolean activeByDefault)
Description copied from interface: Configuration
Sets the active by default.

Specified by:
setActiveByDefault in interface Configuration
Parameters:
activeByDefault - the new active by default

setName

public void setName(String name)
Description copied from interface: Configuration
Sets the name.

Specified by:
setName in interface Configuration
Parameters:
name - the new name

setUsageOrder

public void setUsageOrder(int usageOrder)
Description copied from interface: Configuration
Sets the usage order.

Specified by:
setUsageOrder in interface Configuration
Parameters:
usageOrder - the new usage order

getApplicationTypeContext

protected TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application group specification.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application group specification


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