Package com.abstratt.kirra
Class Tuple
- java.lang.Object
-
- com.abstratt.kirra.Tuple
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Instance
public class Tuple extends Object implements Serializable
Represents structured information. No identity, no behavior, and no relationships, other than nested records. No metadata?- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getScopeName()
String
getScopeNamespace()
String
getShorthand()
protected TypeRef.TypeKind
getTypeKind()
TypeRef
getTypeRef()
Object
getValue(String propertyName)
Map<String,Object>
getValues()
boolean
hasValueFor(String propertyName)
void
setScopeName(String entityName)
void
setScopeNamespace(String namespace)
void
setShorthand(String newShorthand)
void
setTypeRef(TypeRef typeRef)
void
setValue(String propertyName, Object value)
void
setValues(Map<String,Object> values)
String
toString()
-
-
-
Method Detail
-
setTypeRef
public void setTypeRef(TypeRef typeRef)
-
setScopeName
public void setScopeName(String entityName)
-
setScopeNamespace
public void setScopeNamespace(String namespace)
-
getScopeName
public String getScopeName()
-
getScopeNamespace
public String getScopeNamespace()
-
getShorthand
public String getShorthand()
-
getTypeRef
public TypeRef getTypeRef()
-
hasValueFor
public boolean hasValueFor(String propertyName)
-
setShorthand
public void setShorthand(String newShorthand)
-
getTypeKind
protected TypeRef.TypeKind getTypeKind()
-
-