public class PropertyGroupTemplate
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
description |
protected java.util.List<PropertyFieldTemplate> |
fields |
protected java.lang.String |
name |
| Constructor and Description |
|---|
PropertyGroupTemplate(java.lang.String name,
java.lang.String description,
java.util.List<PropertyFieldTemplate> fields)
Defines how a property group may be structured.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Description for the template.
|
java.util.List<PropertyFieldTemplate> |
getFields()
Definitions of the property fields associated with this template.
|
java.lang.String |
getName()
Display name for the template.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String name
protected final java.lang.String description
protected final java.util.List<PropertyFieldTemplate> fields
public PropertyGroupTemplate(java.lang.String name,
java.lang.String description,
java.util.List<PropertyFieldTemplate> fields)
name - Display name for the template. Template names can be up to
256 bytes. Must not be null.description - Description for the template. Template descriptions
can be up to 1024 bytes. Must not be null.fields - Definitions of the property fields associated with this
template. There can be up to 32 properties in a single template. Must
not contain a null item and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public java.lang.String getName()
null.public java.lang.String getDescription()
null.public java.util.List<PropertyFieldTemplate> getFields()
null.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringMultiline()
The returned String may contain newlines.