i3.dragos.gm.core.event
Class AttributeDeclarationEvent
java.lang.Object
java.util.EventObject
i3.dragos.core.services.events.DragosEvent
i3.dragos.gm.core.event.DataEvent
i3.dragos.gm.core.event.GraphEntityClassEvent
i3.dragos.gm.core.event.AttributeDeclarationEvent
- All Implemented Interfaces:
- java.io.Serializable
public class AttributeDeclarationEvent
- extends GraphEntityClassEvent
An AttributeDeclarationEvent
is triggered when an attribute is defined in the Schema.
- Author:
- Thorsten Hermes <thermes@i3.informatik.rwth-aachen.de>
- See Also:
- Serialized Form
Field Summary |
static int |
ATTRIBUTE_DECLARE
Event type constant: Identifies the declaration of an attribute. |
static int |
ATTRIBUTE_UNDECLARE
Event type constant: Identifies the declaration of an attribute. |
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ATTRIBUTE_DECLARE
public static final int ATTRIBUTE_DECLARE
- Event type constant: Identifies the declaration of an attribute.
- See Also:
- Constant Field Values
ATTRIBUTE_UNDECLARE
public static final int ATTRIBUTE_UNDECLARE
- Event type constant: Identifies the declaration of an attribute.
- See Also:
- Constant Field Values
AttributeDeclarationEvent
public AttributeDeclarationEvent(GraphEntityClass entityClass,
int eventType,
Attribute attribute)
- Constructs a new event.
- Parameters:
entityClass
- The graph entity.eventType
- The type of event.attribute
- The modified attribute.
getAttribute
public final Attribute getAttribute()
- Returns the attribute that was modified.
- Returns:
- the attribute that was modified.
Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.