Class PartType

java.lang.Object
com.gentics.contentnode.rest.model.PartType

public class PartType extends Object
  • Constructor Details

    • PartType

      public PartType()
  • Method Details

    • buildFromResultSet

      public PartType buildFromResultSet(ResultSet rs) throws SQLException
      Method to create an instance from a ResultSet
      Returns:
      fluent API
      Throws:
      SQLException
    • getName

      public String getName()
      The name of the part type
      Returns:
      name
    • setName

      public PartType setName(String name)
      Set the name of the part type
      Returns:
      fluent API
    • getId

      public int getId()
      Get the id of the part type
      Returns:
      the part type id
    • setId

      public PartType setId(int id)
      Set the id of the part type
      Returns:
      fluent API
    • getDescription

      public String getDescription()
      Get the description of the part type
      Returns:
      the description of the part type
    • setDescription

      public PartType setDescription(String description)
      Set the description of the part type
      Returns:
      fluent API
    • isAuto

      public boolean isAuto()
      The auto flag
      Returns:
      true if auto is set
    • setAuto

      public PartType setAuto(boolean auto)
      The auto flag
      Returns:
      fluent API
    • getJavaClass

      public String getJavaClass()
      Get the java class (implementation) of the part type
      Returns:
      the implementation class
    • setJavaClass

      public PartType setJavaClass(String javaClass)
      Set the java class (implementation) of the part type
      Returns:
      fluent API
    • isDeprecated

      public boolean isDeprecated()
      The deprecation flag
      Returns:
      ture if the part type is deprecated
    • setDeprecated

      public PartType setDeprecated(boolean deprecated)
      Set the java class (implementation) of the part type
      Returns:
      fluent API