ccc.api.core
Class Alias

java.lang.Object
  extended by ccc.api.core.Res
      extended by ccc.api.core.Resource
          extended by ccc.api.core.Alias
All Implemented Interfaces:
java.io.Serializable

public class Alias
extends Resource

A new alias.

Author:
Civic Computing Ltd.
See Also:
Serialized Form

Field Summary
static java.lang.String TARGET_NAME
          TARGET_NAME : String.
 
Fields inherited from class ccc.api.core.Resource
ABSOLUTE_PATH, ACL, DELETE, DURATION, EXCLUDE_MM, INCLUDE_MM, LIST, LOCK, METADATA, NAME, PARENT, PUBLISH, REVISIONS, SELF, TEMPLATE, WC
 
Constructor Summary
Alias()
          Constructor.
Alias(java.util.UUID targetId)
          Constructor.
Alias(java.util.UUID parentId, ResourceName name, java.util.UUID targetId)
          Constructor.
 
Method Summary
 java.util.UUID getTargetId()
          Accessor.
 java.lang.String getTargetPath()
          Accessor.
 void setTargetId(java.util.UUID targetId)
          Mutator.
 void setTargetPath(java.lang.String targetPath)
          Mutator.
 
Methods inherited from class ccc.api.core.Resource
duration, getAbsolutePath, getCacheDuration, getDateChanged, getDateCreated, getDescription, getId, getLockedBy, getMetadata, getMetadatum, getName, getParent, getPublishedBy, getRevision, getTags, getTemplate, getTitle, getType, isCacheable, isInMainMenu, isLocked, isPublished, isSecure, isVisible, isWorkingCopy, self, setAbsolutePath, setCacheDuration, setDateChanged, setDateCreated, setDescription, setId, setInMainMenu, setLocked, setLockedBy, setMetadata, setName, setParent, setPublished, setPublishedBy, setRevision, setSecure, setTags, setTags, setTemplate, setTitle, setType, setVisible, uriMetadata, uriTemplate
 
Methods inherited from class ccc.api.core.Res
addLink, addLinks, getLink, getLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TARGET_NAME

public static final java.lang.String TARGET_NAME
TARGET_NAME : String.

See Also:
Constant Field Values
Constructor Detail

Alias

public Alias(java.util.UUID parentId,
             ResourceName name,
             java.util.UUID targetId)
Constructor.

Parameters:
parentId - The alias' parent.
name - The alias' name.
targetId - The alias' target.

Alias

public Alias(java.util.UUID targetId)
Constructor.

Parameters:
targetId - The alias' target's id.

Alias

public Alias()
Constructor.

Method Detail

getTargetId

public final java.util.UUID getTargetId()
Accessor.

Returns:
Returns the targetId.

setTargetId

public void setTargetId(java.util.UUID targetId)
Mutator.

Parameters:
targetId - The targetId to set.

setTargetPath

public void setTargetPath(java.lang.String targetPath)
Mutator.

Parameters:
targetPath - The targetPath to set.

getTargetPath

public java.lang.String getTargetPath()
Accessor.

Returns:
Returns the targetPath.


Copyright © 2010. All Rights Reserved.