org.alfresco.repo.bulkimport
Class MetadataLoader.Metadata
java.lang.Object
org.alfresco.repo.bulkimport.MetadataLoader.Metadata
- Enclosing interface:
- MetadataLoader
public static final class MetadataLoader.Metadata
- extends java.lang.Object
Class used to encapsulate the type, aspects and property values for a single file or folder.
|
Method Summary |
void |
addAspect(org.alfresco.service.namespace.QName aspect)
|
void |
addProperty(org.alfresco.service.namespace.QName property,
java.io.Serializable value)
Adds a property and its value to this metadata object. |
java.util.Set |
getAspects()
|
java.util.Map |
getProperties()
|
org.alfresco.service.namespace.QName |
getType()
|
void |
setType(org.alfresco.service.namespace.QName type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataLoader.Metadata
public MetadataLoader.Metadata()
getType
public org.alfresco.service.namespace.QName getType()
- Returns:
- the type
setType
public void setType(org.alfresco.service.namespace.QName type)
- Parameters:
type - The type to set in this metadata object (must not be null).
getAspects
public java.util.Set getAspects()
- Returns:
- The set of aspects in this metadata object (will not be null, but may be empty).
addAspect
public void addAspect(org.alfresco.service.namespace.QName aspect)
- Parameters:
aspect - An aspect to add to this metadata object (must not be null).
getProperties
public java.util.Map getProperties()
- Returns:
- The properties in this metadata object (will not be null, but may be empty).
addProperty
public void addProperty(org.alfresco.service.namespace.QName property,
java.io.Serializable value)
- Adds a property and its value to this metadata object.
- Parameters:
property - The property to populate (must not be null).value - The value of the property (may be null).
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.