public interface UninitializedType
Represents a field/variable in an entity that has not been initialized yet. This simply holds the type of the field,
and is not accessible by the user. This is special because Qilletni doesn't allow for uninitialized fields in
entities, so this is essentially a placeholder.
-
Method Summary
Modifier and TypeMethodDescriptionIf the variable is an entity, gets the definition of the entity.Gets theQilletniTypeClassof the variable.Gets the string name of the variable.booleanisEntity()Checks if the variable is an entity (and not a native type).
-
Method Details
-
isEntity
boolean isEntity()Checks if the variable is an entity (and not a native type).- Returns:
- If the variable is an entity
-
getNativeTypeClass
QilletniTypeClass<?> getNativeTypeClass()Gets theQilletniTypeClassof the variable.- Returns:
- The type class of the variable
-
getEntityDefinition
EntityDefinition getEntityDefinition()If the variable is an entity, gets the definition of the entity. This will return null ifisEntity()returns false.- Returns:
- The entity definition
-
getTypeName
-