@ParametersAreNonnullByDefault public class ProxyClass extends AbstractNamedElement<ProxyClass> implements Proxy<ProxyClass,org.eclipse.emf.ecore.EClass>
EClass
.Modifier and Type | Field and Description |
---|---|
static ProxyClass |
DEFAULT
The instance of the default meta-class:
http://www.eclipse.org/emf/2002/Ecore # EObject . |
Constructor and Description |
---|
ProxyClass(org.eclipse.emf.ecore.EClass eClass)
Constructs a new
ProxyClass from the represented meta-class. |
ProxyClass(ProxyPackage ns)
Constructs a new
ProxyClass with the given ns . |
ProxyClass(ProxyPackage ns,
String name)
Constructs a new
ProxyClass with the given ns and name . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ProxyPackage |
getNamespace()
Returns the namespace of this meta-class.
|
org.eclipse.emf.ecore.EClass |
getOrigin()
Returns the origin of this proxy.
|
int |
hashCode() |
ProxyClass |
setOrigin(org.eclipse.emf.ecore.EClass eClass)
Defines the origin of this proxy.
|
String |
toString() |
getName, me, setName
@Nonnull public static final ProxyClass DEFAULT
http://www.eclipse.org/emf/2002/Ecore # EObject
.public ProxyClass(org.eclipse.emf.ecore.EClass eClass)
ProxyClass
from the represented meta-class.eClass
- the represented meta-classpublic ProxyClass(ProxyPackage ns)
ProxyClass
with the given ns
.ns
- the namespace of this meta-classpublic ProxyClass(ProxyPackage ns, @Nullable String name)
ProxyClass
with the given ns
and name
.ns
- the namespace of this meta-classname
- the name of this meta-classpublic org.eclipse.emf.ecore.EClass getOrigin()
Proxy
getOrigin
in interface Proxy<ProxyClass,org.eclipse.emf.ecore.EClass>
@Nonnull public ProxyClass setOrigin(org.eclipse.emf.ecore.EClass eClass)
Proxy
setOrigin
in interface Proxy<ProxyClass,org.eclipse.emf.ecore.EClass>
eClass
- the represented object@Nonnull public ProxyPackage getNamespace()
public int hashCode()
hashCode
in class AbstractNamedElement<ProxyClass>
public boolean equals(@Nullable Object o)
equals
in class AbstractNamedElement<ProxyClass>
public String toString()
toString
in class AbstractNamedElement<ProxyClass>
Copyright © 2013–2019 Atlanmod. All rights reserved.