org.eclipse.ocl.examples.domain.types
Class AbstractTuplePart
java.lang.Object
org.eclipse.ocl.examples.domain.types.AbstractTuplePart
- All Implemented Interfaces:
- DomainElement, DomainNamedElement, DomainTypedElement, Nameable
public class AbstractTuplePart
- extends java.lang.Object
- implements DomainTypedElement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
protected final DomainType type
name
protected final java.lang.String name
AbstractTuplePart
public AbstractTuplePart(DomainType type,
java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName
in interface Nameable
getType
public DomainType getType()
- Specified by:
getType
in interface DomainTypedElement
getTypeId
@NonNull
public TypeId getTypeId()
- Specified by:
getTypeId
in interface DomainTypedElement
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object