public class CmsDialogElement extends java.lang.Object implements java.lang.Comparable<CmsDialogElement>
构造器和说明 |
---|
CmsDialogElement(java.lang.String name,
java.lang.String niceName,
boolean mandantory,
boolean templateElement,
boolean existing)
Creates a new dialog element.
|
限定符和类型 | 方法和说明 |
---|---|
int |
compareTo(CmsDialogElement obj) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Returns the name.
|
java.lang.String |
getNiceName()
Returns the niceName.
|
int |
hashCode() |
boolean |
isExisting()
Returns the existing.
|
boolean |
isMandantory()
Returns the mandatory.
|
boolean |
isTemplateElement()
Returns true if the element is defined by the template,
false if the element is just contained in the xml page code.
|
void |
setExisting(boolean existing)
Sets the existing.
|
public CmsDialogElement(java.lang.String name, java.lang.String niceName, boolean mandantory, boolean templateElement, boolean existing)
name
- the (system) name of the elementniceName
- the nice "display" name of the elementmandantory
- indicates if the element is mandatorytemplateElement
- indicates if the element is defined as template-elementexisting
- indicates if the element is existing on the xmlPage or notpublic int compareTo(CmsDialogElement obj)
compareTo
在接口中 java.lang.Comparable<CmsDialogElement>
Comparable.compareTo(java.lang.Object)
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String getName()
public java.lang.String getNiceName()
public int hashCode()
hashCode
在类中 java.lang.Object
Object.hashCode()
public boolean isExisting()
public boolean isMandantory()
public boolean isTemplateElement()
public void setExisting(boolean existing)
existing
- the existing to set