public static final class MetadataLoader.Metadata extends Object
| Constructor and Description |
|---|
Metadata() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAspect(QName aspect) |
void |
addProperty(QName property,
Serializable value)
Adds a property and its value to this metadata object.
|
Set<QName> |
getAspects() |
Map<QName,Serializable> |
getProperties() |
QName |
getType() |
void |
setType(QName type) |
public QName getType()
public void setType(QName type)
type - The type to set in this metadata object (must not be null).public Set<QName> getAspects()
public void addAspect(QName aspect)
aspect - An aspect to add to this metadata object (must not be null).public Map<QName,Serializable> getProperties()
public void addProperty(QName property, Serializable value)
property - The property to populate (must not be null).value - The value of the property (may be null).Copyright © 2005–2020 Alfresco Software. All rights reserved.