Package com.abstratt.kirra
Class TupleType
- java.lang.Object
-
- com.abstratt.kirra.NamedElement<Namespace>
-
- com.abstratt.kirra.TopLevelElement
-
- com.abstratt.kirra.TupleType
-
- All Implemented Interfaces:
DataScope
,NameScope
,Serializable
,Comparable<NamedElement<Namespace>>
public class TupleType extends TopLevelElement implements DataScope
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Property>
properties
-
Fields inherited from class com.abstratt.kirra.TopLevelElement
namespace
-
Fields inherited from class com.abstratt.kirra.NamedElement
description, label, name, symbol, userVisible
-
-
Constructor Summary
Constructors Constructor Description TupleType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<Property>
getProperties()
Property
getProperty(String name)
TypeRef.TypeKind
getTypeKind()
int
hashCode()
void
setProperties(List<Property> properties)
-
Methods inherited from class com.abstratt.kirra.TopLevelElement
getNamespace, getTypeRef, isA, setNamespace
-
Methods inherited from class com.abstratt.kirra.NamedElement
compareTo, getDescription, getLabel, getName, getSymbol, isUserVisible, setDescription, setLabel, setName, setSymbol, setUserVisible, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.abstratt.kirra.NameScope
getTypeRef
-
-
-
-
Method Detail
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classNamedElement<Namespace>
-
getProperties
public List<Property> getProperties()
- Specified by:
getProperties
in interfaceDataScope
-
getProperty
public Property getProperty(String name)
- Specified by:
getProperty
in interfaceDataScope
-
getTypeKind
public TypeRef.TypeKind getTypeKind()
- Specified by:
getTypeKind
in interfaceNameScope
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classNamedElement<Namespace>
-
-