Class PartType
java.lang.Object
com.gentics.contentnode.rest.model.PartType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod to create an instance from a ResultSetGet the description of the part typeint
getId()
Get the id of the part typeGet the java class (implementation) of the part typegetName()
The name of the part typeboolean
isAuto()
The auto flagboolean
The deprecation flagsetAuto
(boolean auto) The auto flagsetDeprecated
(boolean deprecated) Set the java class (implementation) of the part typesetDescription
(String description) Set the description of the part typesetId
(int id) Set the id of the part typesetJavaClass
(String javaClass) Set the java class (implementation) of the part typeSet the name of the part type
-
Constructor Details
-
PartType
public PartType()
-
-
Method Details
-
buildFromResultSet
Method to create an instance from a ResultSet- Returns:
- fluent API
- Throws:
SQLException
-
getName
The name of the part type- Returns:
- name
-
setName
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
Set the id of the part type- Returns:
- fluent API
-
getDescription
Get the description of the part type- Returns:
- the description of the part type
-
setDescription
Set the description of the part type- Returns:
- fluent API
-
isAuto
public boolean isAuto()The auto flag- Returns:
- true if auto is set
-
setAuto
The auto flag- Returns:
- fluent API
-
getJavaClass
Get the java class (implementation) of the part type- Returns:
- the implementation class
-
setJavaClass
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
Set the java class (implementation) of the part type- Returns:
- fluent API
-