@API(type=EXTENDABLE,
src=PRIVATE)
public class ProfileConditionsSetInfoPO
extends java.lang.Object
implements PersistentObject
| Constructor and Description |
|---|
ProfileConditionsSetInfoPO()
Constructor.
|
ProfileConditionsSetInfoPO(ro.sync.options.SerializableLinkedHashMap<java.lang.String,java.lang.String[]> conditions,
java.lang.String documentTypePattern,
java.lang.String conditionSetName)
Constructor.
|
ProfileConditionsSetInfoPO(ro.sync.options.SerializableLinkedHashMap<java.lang.String,java.lang.String[]> conditions,
java.lang.String documentTypePattern,
java.lang.String conditionSetName,
java.lang.String ditavalFile,
boolean useDITAVAL)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkValid()
Check if object is valid to be used.
|
java.lang.Object |
clone()
Forces all the persistent objects to be cloneable.
|
boolean |
equals(java.lang.Object obj) |
ro.sync.options.SerializableLinkedHashMap<java.lang.String,java.lang.String[]> |
getConditions() |
java.lang.String |
getConditionSetName() |
java.lang.String |
getDITAVALFile()
Return the DITAVAL location.
|
java.lang.String |
getDocumentTypePattern() |
java.lang.String[] |
getNotPersistentFieldNames() |
int |
hashCode() |
void |
setConditions(ro.sync.options.SerializableLinkedHashMap<java.lang.String,java.lang.String[]> conditions) |
void |
setConditionSetName(java.lang.String conditionSetName) |
void |
setDitavalFile(java.lang.String ditavalFile)
Set the DITAVAL location.
|
void |
setDocumentTypePattern(java.lang.String documentTypePattern) |
void |
setUseDITAVAL(boolean useDITAVAL) |
java.lang.String |
toString() |
boolean |
useDITAVAL() |
public ProfileConditionsSetInfoPO()
public ProfileConditionsSetInfoPO(ro.sync.options.SerializableLinkedHashMap<java.lang.String,java.lang.String[]> conditions,
java.lang.String documentTypePattern,
java.lang.String conditionSetName)
conditions - Map between attributes and profile values.documentTypePattern - Document type pattern (the conditions set will be used only for the document types
that match it)conditionSetName - Condition set name.public ProfileConditionsSetInfoPO(ro.sync.options.SerializableLinkedHashMap<java.lang.String,java.lang.String[]> conditions,
java.lang.String documentTypePattern,
java.lang.String conditionSetName,
java.lang.String ditavalFile,
boolean useDITAVAL)
conditions - Map between attributes and profile values.documentTypePattern - Document type pattern (the conditions set will be used only for the document types
that match it)conditionSetName - Condition set name.ditavalFile - The DITAVAL file used for the condition set. A profiling consition set
can be based either on a set of user defined consitions or a DITAVAL file.useDITAVAL - true if the DITAVAL file should be used instead of the consitions set.public void setConditions(ro.sync.options.SerializableLinkedHashMap<java.lang.String,java.lang.String[]> conditions)
conditions - The conditions to set.public ro.sync.options.SerializableLinkedHashMap<java.lang.String,java.lang.String[]> getConditions()
public void setDocumentTypePattern(java.lang.String documentTypePattern)
documentTypePattern - The documentTypePattern to set.public java.lang.String getDocumentTypePattern()
public void setConditionSetName(java.lang.String conditionSetName)
conditionSetName - The conditionSetName to set.public java.lang.String getConditionSetName()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public void checkValid()
throws ro.sync.options.InvalidPersistentObjException
PersistentObjectInvalidPersistentObjException exception.checkValid in interface PersistentObjectInvalidPersistentObjException - Thrown when instance is not valid.PersistentObject.checkValid()public java.lang.String[] getNotPersistentFieldNames()
getNotPersistentFieldNames in interface PersistentObjectPersistentObject.getNotPersistentFieldNames()public java.lang.Object clone()
PersistentObjectclone in interface PersistentObjectclone in class java.lang.ObjectObject.clone()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.String getDITAVALFile()
null.public void setDitavalFile(java.lang.String ditavalFile)
ditavalFile - The DITAVAL location to set.public boolean useDITAVAL()
true if the DITAVAL file should be used instead of the conditions set.public void setUseDITAVAL(boolean useDITAVAL)
useDITAVAL - True if the condition set is using a DITAVAL file instead of the conditions set.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.