Class PlaceholderGroup

All Implemented Interfaces:
Serializable

public class PlaceholderGroup extends Comet3Entity

Java class for the Placeholder Group configuration type. For internal use only

See Also:
  • Constructor Details

    • PlaceholderGroup

      public PlaceholderGroup()
      Instantiates a new Placeholder group.
    • PlaceholderGroup

      public PlaceholderGroup(int id)
      Instantiates a new Placeholder group.
      Parameters:
      id - the id
    • PlaceholderGroup

      public PlaceholderGroup(int id, String name)
      Instantiates a new Placeholder group.
      Parameters:
      id - the id
      name - the name
    • PlaceholderGroup

      public PlaceholderGroup(CometPlaceholderGroup group)
      Instantiates a new Placeholder group.
      Parameters:
      group - the group
  • Method Details

    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getUser

      public String getUser()
      Gets user.
      Returns:
      the user
    • setUser

      public void setUser(String user)
      Sets user.
      Parameters:
      user - the user
    • getPlaceholders

      public PlaceholderGroup.Placeholders getPlaceholders()
      Gets placeholders.
      Returns:
      the placeholders
    • setPlaceholders

      public void setPlaceholders(PlaceholderGroup.Placeholders placeholders)
      Sets placeholders.
      Parameters:
      placeholders - the placeholders
    • getColor

      public Integer getColor()
      Gets color.
      Returns:
      the color
    • setColor

      public void setColor(Integer color)
      Sets color.
      Parameters:
      color - the color
    • getId

      public int getId()
      Description copied from class: Comet3Entity
      Gets id.
      Overrides:
      getId in class Comet3Entity
      Returns:
      the id
    • setId

      public void setId(int id)
      Description copied from class: Comet3Entity
      Sets id.
      Overrides:
      setId in class Comet3Entity
      Parameters:
      id - the id
    • entityEquals

      public boolean entityEquals(Object other)
      Description copied from class: Comet3Entity
      Entity equals boolean.
      Overrides:
      entityEquals in class Comet3Entity
      Parameters:
      other - the other
      Returns:
      the boolean
    • entityEquals

      public boolean entityEquals(CometPlaceholderGroup group)
      Entity equals boolean.
      Parameters:
      group - the group
      Returns:
      the boolean
    • applyValuesTo

      public void applyValuesTo(CometPlaceholderGroup item)
      Apply values to.
      Parameters:
      item - the item