@ParametersAreNonnullByDefault public class ProxyElement extends AbstractNamedElement<ProxyElement>
PersistentEObject
.Constructor and Description |
---|
ProxyElement() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ProxyValue<Id> |
getId()
Returns the identifier of this element.
|
ProxyClass |
getMetaClass()
Returns the meta-class of this element.
|
int |
hashCode() |
boolean |
isRoot()
Returns whether this element is the root of a structure.
|
ProxyElement |
setId(ProxyValue<Id> id)
Defines the identifier of this element.
|
ProxyElement |
setMetaClass(ProxyClass metaClass)
Defines the meta-class of this element.
|
ProxyElement |
setRoot(boolean isRoot)
Defines whether this element is the root of a structure.
|
getName, me, setName, toString
@Nonnull public ProxyValue<Id> getId()
@Nonnull public ProxyElement setId(ProxyValue<Id> id)
id
- the identifierpublic ProxyClass getMetaClass()
@Nonnull public ProxyElement setMetaClass(ProxyClass metaClass)
metaClass
- the meta-classpublic boolean isRoot()
true
if this element is the root of a structure@Nonnull public ProxyElement setRoot(boolean isRoot)
isRoot
- true
if this element is the root of a structurepublic int hashCode()
hashCode
in class AbstractNamedElement<ProxyElement>
public boolean equals(@Nullable Object o)
equals
in class AbstractNamedElement<ProxyElement>
Copyright © 2013–2019 Atlanmod. All rights reserved.