|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oberon.ooql.sdk.OBBase com.oberon.ooql.sdk.ObjectValidation
public class ObjectValidation
Class used to retrieve Lifecycle
-Stage
-Validation
s for a specific ObjectObj
.
Field Summary | |
---|---|
static int |
VAL_IGNORED
Validation ignored |
static int |
VAL_REFUSED
Validation refused |
static int |
VAL_UNSIGNED
Validation unsigned |
static int |
VAL_VALIDATED
Validation validated |
Constructor Summary | |
---|---|
ObjectValidation()
|
|
ObjectValidation(java.lang.String name)
Define new Object Validation |
Method Summary | |
---|---|
java.lang.String |
accessToString(Framework framework)
Get the list of framework User validation accesses for the current ObjectValidation |
java.lang.String |
accessToString(java.lang.String userName,
Framework framework)
Get the list of User validation accesses for the current ObjectObj at this Stage (as String) |
void |
fromXML(org.jdom.Element rootElement)
Load the ObjectValidation from XML element tree |
java.lang.String |
getComment()
Get the ObjectValidation comment |
void |
getHistory(Framework framework)
[Inherited but not used] |
java.lang.String |
getName()
Get the ObjectValidation name |
java.lang.String |
getProperty(java.lang.String propertyName,
java.util.Vector<java.lang.Object> filterArgs,
java.lang.String token,
Framework framework)
Get a property for this ObjectValidation by its OOQL identifier |
java.lang.String |
getSigner()
Get the ObjectValidation signer |
ObjectStage |
getStage()
Get the ObjectValidation relative ObjectStage |
java.lang.String |
getStageFork()
Get the ObjectValidation relative Stage -fork |
int |
getStatus()
Get the ObjectValidation status |
java.lang.String |
getStatusAsString()
Get the validation status in OOQL format |
static int |
getStatusFromString(java.lang.String status)
Convert the ObjectValidation status from OOQL format to internal constant |
java.util.Vector<?> |
getTargetNames(java.lang.String composedName,
java.util.Vector<java.lang.Object> filterArgs,
Framework framework)
[Inherited but not used] |
boolean |
isIgnored()
Check if the ObjectValidation is ignored |
boolean |
isRefused()
Check if the ObjectValidation is refused |
boolean |
isSigned()
Check if the ObjectValidation is signed |
boolean |
isValidated()
Check if the ObjectValidation is validated |
void |
setComment(java.lang.String comment)
Set the ObjectValidation comment [INTERNAL USAGE] |
void |
setName(java.lang.String name)
Set the ObjectValidation name [INTERNAL USAGE] |
void |
setSigner(java.lang.String userName)
Set the ObjectValidation signer [INTERNAL USAGE] |
void |
setStage(ObjectStage stage)
Set the ObjectValidation relative ObjectStage [INTERNAL USAGE] |
void |
setStageFork(java.lang.String stageFork)
Set the ObjectValidation relative Stage -fork [INTERNAL USAGE] |
void |
setStatus(int status)
Set the ObjectValidation status [INTERNAL USAGE] |
java.lang.String |
toString()
Return the ObjectValidation basic properties as String |
java.lang.String |
toString(java.lang.String indent)
Return the ObjectValidation basic properties as String |
org.jdom.Element |
toXML(Framework framework)
Return the ObjectValidation properties as XML element tree |
Methods inherited from class com.oberon.ooql.sdk.OBBase |
---|
addChange, addUniqueChange, ChangesFromXML, ChangesToXML, getChanges, getChangesAsString, getId, isLinked, removeChange, resetChanges, setId, setLinked |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int VAL_UNSIGNED
public static final int VAL_VALIDATED
public static final int VAL_REFUSED
public static final int VAL_IGNORED
Constructor Detail |
---|
public ObjectValidation()
public ObjectValidation(java.lang.String name)
name
- the validation nameMethod Detail |
---|
public void setName(java.lang.String name)
public java.lang.String getName()
getName
in class OBBase
public void setStage(ObjectStage stage)
ObjectStage
[INTERNAL USAGE]
public ObjectStage getStage()
ObjectStage
public void setStageFork(java.lang.String stageFork)
Stage
-fork [INTERNAL USAGE]
public java.lang.String getStageFork()
Stage
-fork
public void setSigner(java.lang.String userName)
userName
- the name of signer User
public java.lang.String getSigner()
User
public void setComment(java.lang.String comment)
public java.lang.String getComment()
public void setStatus(int status)
public int getStatus()
public java.lang.String getStatusAsString()
public static int getStatusFromString(java.lang.String status)
public boolean isSigned()
public boolean isValidated()
public boolean isIgnored()
public boolean isRefused()
public java.lang.String accessToString(Framework framework)
framework
- the current framework
Validation.hasValidateAccess(String,Framework)
,
Validation.hasIgnoreAccess(String,Framework)
,
Validation.hasRefuseAccess(String,Framework)
public java.lang.String accessToString(java.lang.String userName, Framework framework)
userName
- the name of user to get the accessframework
- the current framework
Validation.hasValidateAccess(String,String,Framework)
,
Validation.hasIgnoreAccess(String,String,Framework)
,
Validation.hasRefuseAccess(String,String,Framework)
public void getHistory(Framework framework) throws OberonException
OberonException
public java.lang.String getProperty(java.lang.String propertyName, java.util.Vector<java.lang.Object> filterArgs, java.lang.String token, Framework framework)
getProperty
in class OBBase
propertyName
- OOQL property identifier/name (example: name , stagefork ...)filterArgs
- extra arguments used to compute propertiestoken
- separator token for complex propertiesframework
- the current framework
public java.util.Vector<?> getTargetNames(java.lang.String composedName, java.util.Vector<java.lang.Object> filterArgs, Framework framework)
getTargetNames
in class OBBase
public org.jdom.Element toXML(Framework framework)
framework
- the current frameworkpublic void fromXML(org.jdom.Element rootElement)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String indent)
indent
- set the row indent chars
|
OBEROn SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |