Class PartType
- java.lang.Object
-
- com.gentics.contentnode.rest.model.PartType
-
public class PartType extends Object
-
-
Constructor Summary
Constructors Constructor Description PartType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartType
buildFromResultSet(ResultSet rs)
Method to create an instance from a ResultSetString
getDescription()
Get the description of the part typeint
getId()
Get the id of the part typeString
getJavaClass()
Get the java class (implementation) of the part typeString
getName()
The name of the part typeboolean
isAuto()
The auto flagboolean
isDeprecated()
The deprecation flagPartType
setAuto(boolean auto)
The auto flagPartType
setDeprecated(boolean deprecated)
Set the java class (implementation) of the part typePartType
setDescription(String description)
Set the description of the part typePartType
setId(int id)
Set the id of the part typePartType
setJavaClass(String javaClass)
Set the java class (implementation) of the part typePartType
setName(String name)
Set the name of the part type
-
-
-
Method Detail
-
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
-
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
-
-