Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ru.gammalabs.ice.publishing
Class IEStatus  view IEStatus download IEStatus.java

java.lang.Object
  extended byru.gammalabs.ice.publishing.IEStatus

public class IEStatus
extends java.lang.Object

Informs about such status of information element IE as 'active' or 'not active' ( in future 'archived').


Field Summary
static IEStatus ACTIVE
          Indicates that information element IE is active.
protected  ru.gammalabs.ice.publishing.framework.Id id
          The identifier of this IEStatus object.
private static org.apache.log4j.Category log
          For debuging errors
protected  MLString name
          The multi language name of this IEStatus object.
static IEStatus NOT_ACTIVE
          Indicates that information element IE is not active.
 
Constructor Summary
IEStatus(long num)
          Constructs IEStatus with identifier long = num.
 
Method Summary
static java.util.Set getAllIEStatus()
          Returns set of all possible in application ie status objects IEStatus.
 ru.gammalabs.ice.publishing.framework.Id getId()
          Returns Id identifier of this IEStatus object.
static IEStatus getIEStatusById(ru.gammalabs.ice.publishing.framework.Id id)
          Returns ie status by its id, If there is no status with such id, return null.
 MLString getName()
          Returns multilanguage MLString name of this IEStatus object.
 java.lang.String getName(java.util.Locale locale)
          Returns String name of this IEStatus object in locale locale .
 void setName(MLString str)
          Sets multilanguage name to this IEStatus object.
 void setName(java.lang.String str, java.util.Locale locale)
          Sets String name to this IEStatus object in locale locale.
 java.lang.String toString()
          Returns string describing this IEStatus object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

private static final org.apache.log4j.Category log
For debuging errors


ACTIVE

public static IEStatus ACTIVE
Indicates that information element IE is active. Identifier in data base id of this object = 1.


NOT_ACTIVE

public static IEStatus NOT_ACTIVE
Indicates that information element IE is not active. Identifier in data base id of this object = 2.


id

protected ru.gammalabs.ice.publishing.framework.Id id
The identifier of this IEStatus object.


name

protected MLString name
The multi language name of this IEStatus object.

Constructor Detail

IEStatus

public IEStatus(long num)
Constructs IEStatus with identifier long = num.

Method Detail

getAllIEStatus

public static java.util.Set getAllIEStatus()
Returns set of all possible in application ie status objects IEStatus.


getIEStatusById

public static IEStatus getIEStatusById(ru.gammalabs.ice.publishing.framework.Id id)
Returns ie status by its id, If there is no status with such id, return null.


setName

public void setName(MLString str)
Sets multilanguage name to this IEStatus object.


setName

public void setName(java.lang.String str,
                    java.util.Locale locale)
Sets String name to this IEStatus object in locale locale.


getId

public ru.gammalabs.ice.publishing.framework.Id getId()
Returns Id identifier of this IEStatus object.


getName

public MLString getName()
Returns multilanguage MLString name of this IEStatus object.


getName

public java.lang.String getName(java.util.Locale locale)
Returns String name of this IEStatus object in locale locale .


toString

public java.lang.String toString()
Returns string describing this IEStatus object.