Class HostingSettings
java.lang.Object
io.jmix.appsettings.entity.AppSettingsEntity
de.bytestore.hostinger.entity.settings.HostingSettings
- All Implemented Interfaces:
io.jmix.core.Entity,io.jmix.core.entity.JmixEntityEntryEnhanced,io.jmix.core.entity.JmixSettersEnhanced,Serializable,Cloneable,org.eclipse.persistence.descriptors.changetracking.ChangeTracker,org.eclipse.persistence.internal.descriptors.PersistenceEntity,org.eclipse.persistence.internal.descriptors.PersistenceObject,org.eclipse.persistence.internal.weaving.PersistenceWeaved,org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking,org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups,org.eclipse.persistence.queries.FetchGroupTracker
@Entity(name="host_HostingSettings")
public class HostingSettings
extends io.jmix.appsettings.entity.AppSettingsEntity
The HostingSettings class represents hosting-related configuration settings.
It extends the AppSettingsEntity class and is annotated with Jmix framework and
JPA annotations to map it to a database table.
This class includes settings such as enabling or disabling debug mode,
specifying default nameservers, and defining the refresh interval for statistics.
Annotations:
- @Table: Maps the class to the "host_HostingSettings" database table.
- @JmixEntity: Registers the entity within the Jmix framework using the name "host_HostingSettings".
- @Entity: Marks this as a JPA entity.
- @Getter and @Setter: Automatically generates getters and setters for all fields within the class.
Fields:
- debug: A Boolean flag indicating whether debug mode is enabled.
The default value is false as specified by the @AppSettingsDefaultBoolean annotation.
- nameservers: A String containing default nameservers, separated by commas.
The default value is "1.1.1.1, 1.0.0.1" as provided by the @AppSettingsDefault annotation.
- refreshInterval: An Integer that specifies the refresh interval in seconds for statistics.
The default value is 2 as set by the @AppSettingsDefaultInt annotation.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.appsettings.entity.AppSettingsEntity
io.jmix.appsettings.entity.AppSettingsEntity.JmixEntityEntry -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.jmix.appsettings.entity.AppSettingsEntity
__copyEntityEntry, __getEntityEntry, _persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_get, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getId, _persistence_getPropertyChangeListener, _persistence_getSession, _persistence_isAttributeFetched, _persistence_new, _persistence_post_clone, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_set, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setId, _persistence_setPropertyChangeListener, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Constructor Details
-
HostingSettings
public HostingSettings()
-