Package com.vk2gpz.autosell.object
Class AreaMultiplier
java.lang.Object
com.vk2gpz.autosell.object.AreaMultiplier
Represents an area multiplier with an identifier, priority, permission, multiplier value, and a list of areas.
-
Constructor Summary
ConstructorsConstructorDescriptionAreaMultiplier
(String identifier) Constructs an AreaMultiplier with the specified identifier. -
Method Summary
Modifier and TypeMethodDescriptiongetAreas()
Gets the list of areas associated with this area multiplier.Gets the identifier for this area multiplier.double
Gets the multiplier value for this area multiplier.Gets the permission required to use this area multiplier.int
Gets the priority of this area multiplier.void
Sets the list of areas associated with this area multiplier.void
setIdentifier
(String identifier) Sets the identifier for this area multiplier.void
setMultiplier
(double multiplier) Sets the multiplier value for this area multiplier.void
setPermission
(String permission) Sets the permission required to use this area multiplier.void
setPriority
(int priority) Sets the priority of this area multiplier.
-
Constructor Details
-
AreaMultiplier
Constructs an AreaMultiplier with the specified identifier.- Parameters:
identifier
- The identifier for this area multiplier.
-
-
Method Details
-
getIdentifier
Gets the identifier for this area multiplier.- Returns:
- the identifier for this area multiplier.
-
setIdentifier
Sets the identifier for this area multiplier.- Parameters:
identifier
- The identifier for this area multiplier.
-
getPriority
public int getPriority()Gets the priority of this area multiplier.- Returns:
- the priority of this area multiplier.
-
setPriority
public void setPriority(int priority) Sets the priority of this area multiplier.- Parameters:
priority
- The priority of this area multiplier.
-
getPermission
Gets the permission required to use this area multiplier.- Returns:
- the permission required to use this area multiplier.
-
setPermission
Sets the permission required to use this area multiplier.- Parameters:
permission
- The permission required to use this area multiplier.
-
getMultiplier
public double getMultiplier()Gets the multiplier value for this area multiplier.- Returns:
- the multiplier value for this area multiplier.
-
setMultiplier
public void setMultiplier(double multiplier) Sets the multiplier value for this area multiplier.- Parameters:
multiplier
- The multiplier value for this area multiplier.
-
getAreas
Gets the list of areas associated with this area multiplier.- Returns:
- the list of areas associated with this area multiplier.
-
setAreas
Sets the list of areas associated with this area multiplier.- Parameters:
areas
- The list of areas associated with this area multiplier.
-