Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2010 MediaShelf <> This file is part of fedora-client. fedora-client is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. fedora-client is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with fedora-client. If not, see <>.
package com.yourmediashelf.fedora.client.response;
    private ObjectProfile objectProfile;
            throws FedoraClientException {
    public Date getCreateDate() throws FedoraClientException {
        return DateUtility.parseXSDDateTime(
    public String getLabel() throws FedoraClientException {
        return getObjectProfile().getObjLabel();


the object's lastModifiedDate
    public Date getLastModifiedDate() throws FedoraClientException {
        return DateUtility.parseXSDDateTime(
    public String getOwnerId() throws FedoraClientException {
        return getObjectProfile().getObjOwnerId();

Accessor for the pid of the object returned by the request.

    public String getPid() throws FedoraClientException {
        return getObjectProfile().getPid();
    public String getState() throws FedoraClientException {
        return getObjectProfile().getObjState();
        if ( == null) {
        return ;
New to GrepCode? Check out our FAQ X