public class OwSimpleLocation extends Object implements OwLocation
Simple implementation of the OwLocation interface.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor and Description |
|---|
OwSimpleLocation() |
OwSimpleLocation(OwObject parent)
Create a Location from parent, which will implicitly set
the resource from provided parent object.
|
OwSimpleLocation(OwResource res) |
| Modifier and Type | Method and Description |
|---|---|
OwObject |
getParent()
The parent object, can return null if not filed/contained in a structure.
|
OwResource |
getResource()
The Resource (Repository/ObjectStore) of the location.
|
void |
setParent(OwObject parent) |
void |
setResource(OwResource res) |
public OwSimpleLocation()
public OwSimpleLocation(OwResource res)
public OwSimpleLocation(OwObject parent) throws OwException
parent - OwExceptionpublic OwResource getResource()
OwLocationgetResource in interface OwLocationpublic void setResource(OwResource res)
public OwObject getParent()
OwLocationgetParent in interface OwLocationpublic void setParent(OwObject parent)
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.