Style Intelligence v12.0

inetsoft.uql.erm
Class DataModelEvent

java.lang.Object
  extended by java.util.EventObject
      extended by inetsoft.uql.erm.DataModelEvent
All Implemented Interfaces:
Serializable

public class DataModelEvent
extends EventObject

Event signaling a change to a data model.

Since:
5.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DataModelEvent(XLogicalModel model, String entity, String attribute)
          Create a new instance of DataModelEvent.
DataModelEvent(XLogicalModel model, String entity, String attribute, int attributeIndex)
          Create a new instance of DataModelEvent.
DataModelEvent(XLogicalModel model, String entity, String attribute, int attributeIndex, String oentity, String oattribute)
          Create a new instance of DataModelEvent.
DataModelEvent(XLogicalModel model, String entity, String attribute, int attributeIndex, String oentity, String oattribute, String property, Object oldValue, Object newValue)
          Create a new instance of DataModelEvent.
DataModelEvent(XLogicalModel model, String entity, String property, Object oldValue, Object newValue)
          Create a new instance of DataModelEvent.
DataModelEvent(XLogicalModel model, String entity, String attribute, String property, Object oldValue, Object newValue)
          Create a new instance of DataModelEvent.
DataModelEvent(XLogicalModel model, String entity, String attribute, String oentity, String oattribute)
          Create a new instance of DataModelEvent.
 
Method Summary
 String getAttribute()
          Get the attribute that was changed.
 int getAttributeIndex()
          Get the index of the attribute that was changed.
 XLogicalModel getDataModel()
          Get the data model that was changed.
 String getEntity()
          Get the entity that was changed.
 Object getNewValue()
          Get the new value of the property that was modified.
 Object getOldValue()
          Get the old value of the property that was modified.
 String getOriginalAttribute()
          Get the original name of the attribute that was changed.
 String getOriginalEntity()
          Get the original name of the entity that was changed.
 String getPropertyName()
          Get the name of the property that was modified.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataModelEvent

public DataModelEvent(XLogicalModel model,
                      String entity,
                      String attribute)
Create a new instance of DataModelEvent.

Parameters:
model - the data model that was changed.
entity - the name of the entity that was changed.
attribute - the name of the attribute that was changed.

DataModelEvent

public DataModelEvent(XLogicalModel model,
                      String entity,
                      String attribute,
                      int attributeIndex)
Create a new instance of DataModelEvent.

Parameters:
model - the data model that was changed.
entity - the name of the entity that was changed.
attribute - the name of the attribute that was changed.
attributeIndex - the index of the attribute in the entity.
Since:
8.0

DataModelEvent

public DataModelEvent(XLogicalModel model,
                      String entity,
                      String attribute,
                      String oentity,
                      String oattribute)
Create a new instance of DataModelEvent.

Parameters:
model - the data model that was changed.
entity - the name of the entity that was changed.
attribute - the name of the attribute that was changed.
oentity - the original name of the entity that was changed.
oattribute - the original name of the attribute that was changed.
Since:
6.0

DataModelEvent

public DataModelEvent(XLogicalModel model,
                      String entity,
                      String property,
                      Object oldValue,
                      Object newValue)
Create a new instance of DataModelEvent.

Parameters:
model - the data model that was changed.
entity - the name of the entity that was changed.
property - the name of the property that was modified.
oldValue - the oldValue of the property.
newValue - the newValue of the property.
Since:
8.0

DataModelEvent

public DataModelEvent(XLogicalModel model,
                      String entity,
                      String attribute,
                      String property,
                      Object oldValue,
                      Object newValue)
Create a new instance of DataModelEvent.

Parameters:
model - the data model that was changed.
entity - the name of the entity that was changed.
attribute - the name of the attribute that was changed.
property - the name of the property that was modified.
oldValue - the oldValue of the property.
newValue - the newValue of the property.
Since:
8.0

DataModelEvent

public DataModelEvent(XLogicalModel model,
                      String entity,
                      String attribute,
                      int attributeIndex,
                      String oentity,
                      String oattribute)
Create a new instance of DataModelEvent.

Parameters:
model - the data model that was changed.
entity - the name of the entity that was changed.
attribute - the name of the attribute that was changed.
attributeIndex - the index of the attribute in the entity.
oentity - the original name of the entity that was changed.
oattribute - the original name of the attribute that was changed.
Since:
8.0

DataModelEvent

public DataModelEvent(XLogicalModel model,
                      String entity,
                      String attribute,
                      int attributeIndex,
                      String oentity,
                      String oattribute,
                      String property,
                      Object oldValue,
                      Object newValue)
Create a new instance of DataModelEvent.

Parameters:
model - the data model that was changed.
entity - the name of the entity that was changed.
attribute - the name of the attribute that was changed.
attributeIndex - the index of the attribute in the entity.
oentity - the original name of the entity that was changed.
oattribute - the original name of the attribute that was changed.
property - the name of the property that was modified.
oldValue - the oldValue of the property.
newValue - the newValue of the property.
Since:
8.0
Method Detail

getDataModel

public XLogicalModel getDataModel()
Get the data model that was changed.

Returns:
the data model.

getEntity

public String getEntity()
Get the entity that was changed.

Returns:
the name of the entity.

getAttribute

public String getAttribute()
Get the attribute that was changed.

Returns:
the name of the attribute.

getAttributeIndex

public int getAttributeIndex()
Get the index of the attribute that was changed.

Returns:
the index of the attribute.
Since:
8.0

getOriginalEntity

public String getOriginalEntity()
Get the original name of the entity that was changed.

Returns:
the original name of the entity.
Since:
6.0

getOriginalAttribute

public String getOriginalAttribute()
Get the original name of the attribute that was changed.

Returns:
the original name of the attribute.
Since:
6.0

getPropertyName

public String getPropertyName()
Get the name of the property that was modified.

Returns:
the name of the property.
Since:
8.0

getOldValue

public Object getOldValue()
Get the old value of the property that was modified.

Returns:
the old value of the property.
Since:
8.0

getNewValue

public Object getNewValue()
Get the new value of the property that was modified.

Returns:
the new value of the property.
Since:
8.0

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.