OBEROn SDK

com.oberon.ooql.sdk
Class OBBase

java.lang.Object
  extended by com.oberon.ooql.sdk.OBBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AdminBase, AdminComponent, Dump, MenuItem, ObjectBase, ObjectDelegation, ObjectFile, ObjectStage, ObjectValidation, Process, ProcessStep

public abstract class OBBase
extends java.lang.Object
implements java.io.Serializable

A base class for all administrative/contextual OBEROn objects

Version:
5.0
See Also:
Serialized Form

Constructor Summary
OBBase()
           
 
Method Summary
 void addChange(java.lang.String[] changeItem)
          Register a change made on object properties
 void addUniqueChange(java.lang.String[] changeItem)
          Register a change made on object properties; remove previous items of same type
 void ChangesFromXML(org.jdom.Element rootElement)
          Load changes for object/link properties from XML structure
 org.jdom.Element ChangesToXML()
          Return changes made on object/link properties in XML format
 java.util.Vector<java.lang.String[]> getChanges()
          Return all changes made on object properties until the database update event
 java.lang.String getChangesAsString()
          Return all changes made on object properties as a String
 int getId()
          Get the object id
abstract  java.lang.String getName()
          Return the object name / code
abstract  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 the object by its OOQL identifier
abstract  java.util.Vector<?> getTargetNames(java.lang.String composedName, java.util.Vector<java.lang.Object> filterArgs, Framework framework)
          Return a Vector of administrative object names extracted by using an OOQL selector
 boolean isLinked()
          Check if object is linked with database
 void removeChange(java.lang.String changeType)
          Remove a object property change
 void resetChanges()
          Resent object property changes
 void setId(int id)
          Set the object id
 void setLinked(boolean linked)
          Force the object linked with database
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OBBase

public OBBase()
Method Detail

getName

public abstract java.lang.String getName()
Return the object name / code


setId

public void setId(int id)
Set the object id


getId

public int getId()
Get the object id


setLinked

public void setLinked(boolean linked)
Force the object linked with database


isLinked

public boolean isLinked()
Check if object is linked with database


addChange

public void addChange(java.lang.String[] changeItem)
Register a change made on object properties


addUniqueChange

public void addUniqueChange(java.lang.String[] changeItem)
Register a change made on object properties; remove previous items of same type


getChanges

public java.util.Vector<java.lang.String[]> getChanges()
Return all changes made on object properties until the database update event


removeChange

public void removeChange(java.lang.String changeType)
Remove a object property change


resetChanges

public void resetChanges()
Resent object property changes


getChangesAsString

public java.lang.String getChangesAsString()
Return all changes made on object properties as a String


ChangesToXML

public org.jdom.Element ChangesToXML()
Return changes made on object/link properties in XML format


ChangesFromXML

public void ChangesFromXML(org.jdom.Element rootElement)
Load changes for object/link properties from XML structure


getProperty

public abstract 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 the object by its OOQL identifier


getTargetNames

public abstract java.util.Vector<?> getTargetNames(java.lang.String composedName,
                                                   java.util.Vector<java.lang.Object> filterArgs,
                                                   Framework framework)
Return a Vector of administrative object names extracted by using an OOQL selector


OBEROn SDK

Copyright © 2008-2014 Mirko Solazzi. All Rights Reserved.