|
|||||||||
| Home >> All >> ru >> gammalabs >> ice >> [ publishing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
ru.gammalabs.ice.publishing
Class PartitionIF

java.lang.Objectru.gammalabs.ice.publishing.AbstractIF
ru.gammalabs.ice.publishing.PartitionIF
- All Implemented Interfaces:
- java.lang.Cloneable
- public class PartitionIF
- extends AbstractIF
- implements java.lang.Cloneable
- extends AbstractIF
Represents field of information element IE and
its type IEType as
list of partitions PartitionModel.
| Field Summary | |
private static org.apache.log4j.Category |
log
For debuging errors |
private java.util.Set |
partitionsId
Set of partitions identifieris Long. |
| Constructor Summary | |
PartitionIF()
Empty constructor constructs empty HashSet for partitions. |
|
PartitionIF(java.util.Collection ids)
Constructor. |
|
| Method Summary | |
void |
addPartition(long id)
Adds identifier of partition in set of partitions identifier. |
java.lang.Object |
clone()
Clone this object. |
boolean |
equalsTo(AbstractIF obj)
Compare this object to another MLString object. |
boolean |
equalsTo(AbstractIF obj,
java.util.Locale locale)
Compare this object to another MLString object. |
java.util.Set |
getPartitionsIdSet()
Returns set of all available in this field partitions. |
java.lang.String |
getValue(java.util.Locale locale)
Returns identifier of any partition PartitionModel
in set of partitions. |
long |
getValueMaxLength(java.util.Locale locale)
Returns maximum length of partition set field. |
boolean |
isNullValue(java.util.Locale locale)
Returns true if partition set is null or empty. |
void |
setValue(java.lang.String str,
java.util.Locale locale)
Sets in set of partitions one partition PartitionModel
with identifier = str. |
| Methods inherited from class ru.gammalabs.ice.publishing.AbstractIF |
getValue, setValue |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
log
private static final org.apache.log4j.Category log
- For debuging errors
partitionsId
private java.util.Set partitionsId
- Set of partitions identifieris
Long.
| Constructor Detail |
PartitionIF
public PartitionIF()
- Empty constructor constructs empty
HashSetfor partitions.
PartitionIF
public PartitionIF(java.util.Collection ids)
- Constructor.
| Method Detail |
getPartitionsIdSet
public java.util.Set getPartitionsIdSet()
- Returns set of all available in this field partitions.
Setis setofLongobjects.
getValue
public java.lang.String getValue(java.util.Locale locale)
- Returns identifier of any partition
PartitionModelin set of partitions. If there is no partition in set of partitions returns "".- Specified by:
getValuein classAbstractIF
equalsTo
public boolean equalsTo(AbstractIF obj)
- Compare this object to another
MLStringobject.- Specified by:
equalsToin classAbstractIF
equalsTo
public boolean equalsTo(AbstractIF obj, java.util.Locale locale)
- Compare this object to another
MLStringobject. in localelocale.- Specified by:
equalsToin classAbstractIF
getValueMaxLength
public long getValueMaxLength(java.util.Locale locale)
- Returns maximum length of partition set field.
- Specified by:
getValueMaxLengthin classAbstractIF
isNullValue
public boolean isNullValue(java.util.Locale locale)
- Returns
trueif partition set isnullor empty.- Specified by:
isNullValuein classAbstractIF
addPartition
public void addPartition(long id)
- Adds identifier of partition in set of partitions identifier.
Clears set of real partitions.
setValue
public void setValue(java.lang.String str, java.util.Locale locale) throws ru.gammalabs.ice.publishing.framework.CMSException
- Sets in set of partitions one partition
PartitionModelwith identifier =str. If there is no partitionPartitionModelwith identifier =strmakes partitions empty.- Specified by:
setValuein classAbstractIF
clone
public java.lang.Object clone()
- Clone this object.
- Specified by:
clonein classAbstractIF
|
|||||||||
| Home >> All >> ru >> gammalabs >> ice >> [ publishing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC