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

Quick Search    Search Deep

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

java.lang.Object
  extended byru.gammalabs.ice.publishing.AbstractIF
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
AttachmentListIF, HTMLStringIF, LocaleSet, MLDate, MLString, PartitionIF, PhotoIF, StatusIF

public abstract class AbstractIF
extends java.lang.Object
implements java.lang.Cloneable

Represents values of any type of ie IE and type of ie IEType fields.


Constructor Summary
AbstractIF()
           
 
Method Summary
abstract  java.lang.Object clone()
          Clones this object.
abstract  boolean equalsTo(AbstractIF obj)
          Compare this object to another AbstractIF object.
abstract  boolean equalsTo(AbstractIF obj, java.util.Locale locale)
          Compare this object to another AbstractIF object only in locale locale.
 java.lang.String getValue()
          Returns string in default locale representing this information field.
abstract  java.lang.String getValue(java.util.Locale locale)
          Returns string in locale locale representing this information field.
abstract  long getValueMaxLength(java.util.Locale locale)
          Returns maximum length of field in locale locale.
abstract  boolean isNullValue(java.util.Locale locale)
          Returns true if field in locale locale is null or empty.
 void setValue(java.lang.String str)
          Makes information field from string str and default locale.
abstract  void setValue(java.lang.String str, java.util.Locale locale)
          Makes information field from string str in locale locale.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIF

public AbstractIF()
Method Detail

getValue

public abstract java.lang.String getValue(java.util.Locale locale)
Returns string in locale locale representing this information field. In some cases, when field is null or not defined, can returns null.


getValue

public java.lang.String getValue()
Returns string in default locale representing this information field. In some cases, when field is null or not defined, can returns null.


setValue

public abstract void setValue(java.lang.String str,
                              java.util.Locale locale)
                       throws ru.gammalabs.ice.publishing.framework.CMSException
Makes information field from string str in locale locale.


setValue

public void setValue(java.lang.String str)
              throws ru.gammalabs.ice.publishing.framework.CMSException
Makes information field from string str and default locale.


clone

public abstract java.lang.Object clone()
Clones this object.


equalsTo

public abstract boolean equalsTo(AbstractIF obj)
Compare this object to another AbstractIF object.


equalsTo

public abstract boolean equalsTo(AbstractIF obj,
                                 java.util.Locale locale)
Compare this object to another AbstractIF object only in locale locale.


getValueMaxLength

public abstract long getValueMaxLength(java.util.Locale locale)
Returns maximum length of field in locale locale. If field in locale locale is null, or not defined or maximum length for this field is not defined, returns 0.


isNullValue

public abstract boolean isNullValue(java.util.Locale locale)
Returns true if field in locale locale is null or empty.