org.eclipse.emf.ecp.internal.core.util
Class PropertiesElement
java.lang.Object
org.eclipse.emf.ecp.internal.core.util.Element
org.eclipse.emf.ecp.internal.core.util.PropertiesElement
- All Implemented Interfaces:
- Comparable<ECPElement>, ECPElement, ECPPropertiesAware, PropertiesStore.StorableElement
- Direct Known Subclasses:
- ECPProjectImpl, ECPRepositoryImpl
public abstract class PropertiesElement
- extends Element
- implements PropertiesStore.StorableElement, ECPPropertiesAware
An element holding ECPProperties.
- Author:
- Eike Stepper
PropertiesElement
public PropertiesElement(String name,
ECPProperties properties)
- Constructor.
- Parameters:
name - the name of the elementsproperties - the initial properties
PropertiesElement
public PropertiesElement(ObjectInput in)
throws IOException
- Create a
PropertiesElement from an ObjectInput.
- Parameters:
in - the ObjectInput
- Throws:
IOException - if there a problem while reading the input
write
public void write(ObjectOutput out)
throws IOException
-
- Specified by:
write in interface PropertiesStore.StorableElement
- Throws:
IOException
getProperties
public final ECPProperties getProperties()
- This returns the
ECPProperties attached to this object.
- Specified by:
getProperties in interface ECPPropertiesAware
- Returns:
- the
ECPProperties this object knows of
Copyright © 2015. All Rights Reserved.