public class Part extends Object
Constructor and Description |
---|
Part()
Empty constructor
|
Modifier and Type | Method and Description |
---|---|
Property |
getDefaultProperty()
Default property
|
String |
getGlobalId()
Global ID of the part
|
Integer |
getId()
Local ID of the part
|
String |
getKeyword()
Part keyword
|
String |
getName()
Part name
|
Property.Type |
getType()
Part type
|
boolean |
isEditable()
True if the part is editable
|
boolean |
isHidden()
True if the part is hidden
|
boolean |
isLiveEditable()
True if the part is live (inline) editable
|
void |
setDefaultProperty(Property defaultProperty)
Set the default property
|
void |
setEditable(boolean editable) |
void |
setGlobalId(String globalId)
Set the global ID
|
void |
setHidden(boolean hidden) |
void |
setId(Integer id)
Set the local ID
|
void |
setKeyword(String keyword) |
void |
setLiveEditable(boolean liveEditable) |
void |
setName(String name) |
void |
setType(Property.Type type)
Set the type
|
public String getName()
public void setName(String name)
name
- the name to setpublic String getKeyword()
public void setKeyword(String keyword)
keyword
- the keyword to setpublic boolean isHidden()
public void setHidden(boolean hidden)
hidden
- the hidden to setpublic boolean isEditable()
public void setEditable(boolean editable)
editable
- the editable to setpublic boolean isLiveEditable()
public void setLiveEditable(boolean liveEditable)
liveEditable
- the liveEditable to setpublic Property.Type getType()
public void setType(Property.Type type)
type
- typepublic Integer getId()
public void setId(Integer id)
id
- local idpublic String getGlobalId()
public void setGlobalId(String globalId)
globalId
- global IDpublic Property getDefaultProperty()
public void setDefaultProperty(Property defaultProperty)
defaultProperty
- default propertyCopyright © 2018 Gentics Software. All rights reserved.