Package mc.core.model.base
Class EntityField
java.lang.Object
mc.core.model.base.EntityField
- All Implemented Interfaces:
Serializable,IEntityField,mc.core.system.util.misc.IParameter
Reference to construct search filters or labels for entity fields.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionThis constructor is not part of the public API.EntityField(Class<? extends IBaseEntity> entityClass, String name) EntityField(Class<? extends IBaseEntity> entityClass, IEntityField mappedField) -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends IBaseEntity>static Class<? extends IBaseEntity>Determines entity class for passed field.getName()toString()
-
Constructor Details
-
EntityField
public EntityField()This constructor is not part of the public API. It is possibly removed from core anytime. -
EntityField
- Parameters:
entityClass- Class of the entity that the field belongs to.name- Name of field, must equal name of Java property in most cases.
-
EntityField
- Parameters:
entityClass- Class of the entity that the field belongs to.mappedField- Field of base class the property is mapped to.
-
-
Method Details