FileDocCategorySizeDatePackage
ConfigChangeImpl.javaAPI DocGlassfish v2 API3616Fri May 04 22:31:18 BST 2007com.sun.enterprise.config.impl

ConfigChangeImpl

public abstract class ConfigChangeImpl extends Object implements Serializable, com.sun.enterprise.config.ConfigChange
A configuration change for an element. Holds xpath, list of changed attributes, their old and new values.

Fields Summary
protected String
xpath
protected String
parentXpath
private long
_lastModified
Constructors Summary
Methods Summary
public abstract java.lang.StringgetConfigChangeType()
can be "update" or "delete" or "add"

public longgetGlobalLastModified()

        return _lastModified;
    
public abstract java.lang.StringgetName()

public java.lang.StringgetParentXPath()
currently makes sense only for add. returns null in other cases

        return this.parentXpath;
    
public java.lang.StringgetXPath()
returns childXPath for add, set and update and delete

    /*
    public static final String TYPE_ADD     = "add";
    public static final String TYPE_UPDATE  = "update";
    public static final String TYPE_DELETE  = "delete";
    public static final String TYPE_SET  = "set";
     */
    
                
       
       
    
                  
       
        return this.xpath;
    
public voidsetGlobalLastModified(long lm)

        _lastModified = lm;