public class PropertyGroup extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PropertyGroup.Serializer
For internal use only.
|
Modifier and Type | Field and Description |
---|---|
protected List<PropertyField> |
fields |
protected String |
templateId |
Constructor and Description |
---|
PropertyGroup(String templateId,
List<PropertyField> fields)
Collection of custom properties in filled property templates.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<PropertyField> |
getFields()
This is a list of custom properties associated with a file.
|
String |
getTemplateId()
A unique identifier for a property template type.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final String templateId
protected final List<PropertyField> fields
public PropertyGroup(String templateId, List<PropertyField> fields)
templateId
- A unique identifier for a property template type. Must
have length of at least 1, match pattern "(/|ptid:).*
", and
not be null
.fields
- This is a list of custom properties associated with a
file. There can be up to 32 properties for a template. Must not
contain a null
item and not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public String getTemplateId()
null
.public List<PropertyField> getFields()
null
.public String toStringMultiline()
The returned String may contain newlines.