com.bea.portal.tools.content
Class PropertyIDBuilder

java.lang.Object
  extended by com.bea.portal.tools.resource.ResourceIDBuilder<T>
      extended by com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder<PropertyID>
          extended by com.bea.portal.tools.content.PropertyIDBuilder
All Implemented Interfaces
Serializable, Cloneable

public final class PropertyIDBuilder
extends com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder<PropertyID>

Builds and parses PropertyID instances.

See Also
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.bea.portal.tools.resource.ResourceIDBuilder
ResourceIDBuilder.ParseContext
 
Field Summary
 
Fields inherited from class com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder
tags
 
Constructor Summary
PropertyIDBuilder()
          Constructor.
 
Method Summary
 PropertyID createResourceID()
          Create the PropertyID.
 NodeID getNodeID()
          Get the NodeID of the content node.
 String getPropertyName()
          Get the name of the property.
 PropertyIDBuilder parseResourceURN(String resourceURN)
          Parse the given URN.
 PropertyIDBuilder setNodeID(NodeID nodeID)
          Change the NodeID of the content node.
 PropertyIDBuilder setPropertyName(String name)
          Change the name of the property.
 PropertyIDBuilder setRepository(NodeID nodeID)
          Deprecated use use setNodeID(NodeID)
 
Methods inherited from class com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder
clone, getTag, getTags, getTagValue, getTagValue, parseResourcePath, processResourceTags, reset, setTagValue
 
Methods inherited from class com.bea.portal.tools.resource.ResourceIDBuilder
createParseContext, getExpectedResourceType, getResourceType, getResourceURN, parseResourceTypeNamespaceURI, parseResourceURN, resolveResourceType, setExpectedResourceType, setResourceType, setResourceURN, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyIDBuilder

public PropertyIDBuilder()
Constructor.

Method Detail

parseResourceURN

public PropertyIDBuilder parseResourceURN(String resourceURN)
Parse the given URN.

Overrides:
parseResourceURN in class com.bea.portal.tools.resource.framework.TaggedResourceIDBuilder<PropertyID>
Parameters
resourceURN - the URN of the referrent resource
Returns
this TaggedResourceIDBuilder

getNodeID

public NodeID getNodeID()
Get the NodeID of the content node.

Returns
the NodeID of the content node

setRepository

public PropertyIDBuilder setRepository(NodeID nodeID)
Deprecated use use setNodeID(NodeID)

Change the NodeID of the content node.

Parameters
nodeID - NodeID of the content node
Returns
this PropertyIDBuilder

setNodeID

public PropertyIDBuilder setNodeID(NodeID nodeID)
Change the NodeID of the content node.

Parameters
nodeID - NodeID of the content node
Returns
this PropertyIDBuilder

getPropertyName

public String getPropertyName()
Get the name of the property.

Returns
the name of the property

setPropertyName

public PropertyIDBuilder setPropertyName(String name)
Change the name of the property.

Parameters
name - the name of the property
Returns
this PropertyIDBuilder

createResourceID

public PropertyID createResourceID()
Create the PropertyID.

Overrides:
createResourceID in class ResourceIDBuilder<PropertyID>
Returns
the PropertyID


Copyright © 2011, Oracle. All rights reserved.