Schnittstelle IEntityComponent<E>
- Typparameter:
E- is the type of the entity aIEntityComponentcan belong to.
- Alle bekannten Unterschnittstellen:
IAbstractBackReference<E>,IAbstractReference<E>,IAbstractValueField<V>,IBackReference<E>,IField,IMultiBackReference<E>,IMultiReference<E>,IMultiValueField<V>,IOptionalBackReference<E>,IOptionalReference<E>,IOptionalValueField<V>,IReference<E>,IValueField<V>
- Alle bekannten Implementierungsklassen:
AbstractBackReference,AbstractField,AbstractReference,AbstractValueField,BackReference,MultiBackReference,MultiReference,MultiValueField,OptionalBackReference,OptionalReference,OptionalValueField,Reference,ValueField
public interface IEntityComponent<E>
A
IEntityComponent can belong to an entity.- Version:
- 2024-12-14
- Autor:
- Silvan Wyss
-
Methodenübersicht
-
Methodendetails
-
belongsToEntity
boolean belongsToEntity()- Gibt zurück:
- true if the current
IEntityComponentbelongs to an entity, false otherwise.
-
getStoredParentEntity
E getStoredParentEntity()- Gibt zurück:
- the entity of the current
IEntityComponent. - Löst aus:
RuntimeException- if the currentIEntityComponentdoes not belong to an entity.
-