Package org.alfresco.repo.bulkimport
Class MetadataLoader.Metadata
java.lang.Object
org.alfresco.repo.bulkimport.MetadataLoader.Metadata
- Enclosing interface:
- MetadataLoader
Class used to encapsulate the type, aspects and property values for a single file or folder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddProperty(QName property, Serializable value) Adds a property and its value to this metadata object.getType()void
-
Constructor Details
-
Metadata
public Metadata()
-
-
Method Details
-
getType
- Returns:
- the type
-
setType
- Parameters:
type- The type to set in this metadata object (must not be null).
-
getAspects
- Returns:
- The set of aspects in this metadata object (will not be null, but may be empty).
-
addAspect
- Parameters:
aspect- An aspect to add to this metadata object (must not be null).
-
getProperties
- Returns:
- The properties in this metadata object (will not be null, but may be empty).
-
addProperty
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).
-