SAP NetWeaver '04

com.sap.netweaver.bc.rf.common.property
Class PropertyName

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.common_api.jar]
java.lang.Object
  |
  +--com.sap.netweaver.bc.rf.util.flyweight.FlyWeight
        |
        +--com.sap.netweaver.bc.rf.util.namespace.Name
              |
              +--com.sap.netweaver.bc.rf.common.property.PropertyName
All Implemented Interfaces:
java.lang.Cloneable, IName, IPropertyName, java.io.Serializable

public class PropertyName
extends Name
implements IPropertyName, java.lang.Cloneable, java.io.Serializable

Class implementing a property name. This class predefines the system level property names. Don't add any other then system property names here! Each PropertyName follows the flyweight pattern for performance and memory consumption reasons. When define own property names, you are part of that pattern. When you define your own property name class, you should derive from that class to profit from that pattern.

See Also:
Serialized Form

Field Summary
static IPropertyName COLLECTION
          Property describing whether or not the resource is a collection
static IPropertyName CONTENTENCODING
          Property describing the content encoding of the resource
static IPropertyName CONTENTLANGUAGE
          Property describing the content language of the resource
static IPropertyName CONTENTLENGTH
          Property describing the content length of the resource
static IPropertyName CONTENTTYPE
          Property describing the content type of the resource
static IPropertyName CREATED
          Property describing when the resource was created
static IPropertyName CREATEDBY
          Property describing the user who created the resource
static IPropertyName DESCRIPTION
          Property describing the resource itself
static IPropertyName DISPLAYNAME
          Property describing the display name of the resource
static IPropertyName ETAG
          Property describing an entity tag reflecting the HTTP entity tag for the unfiltered content of this resource.
static IPropertyName HIDDEN
          Property describing whether or not the resource is hidden
static IPropertyName LINKTYPE
          Property describing of which link type a resource is (see namespace for link type ids)
static IPropertyName MODIFIED
          Property describing when the resource was last modified
static IPropertyName MODIFIEDBY
          Property describing who modified the resource last
static IPropertyName READONLY
          Property describing whether or not the resource is read only
static IPropertyName RESOURCENAME
          Property describing the repository supplied resource name, i.e. the last RID part
static IPropertyName RESOURCETYPE
          Property describing the repository supplied resource type
 
Fields inherited from interface com.sap.netweaver.bc.rf.util.namespace.IName
NAMESPACE_SEPARATOR
 
Method Summary
static IPropertyName getPropertyName(IName name)
          Get property name (all property names are cached for performance reasons and indexed by their full name).
static IPropertyName getPropertyName(java.lang.String fullName)
          Get property name (all property names are cached for performance reasons and indexed by their full name).
static IPropertyName getPropertyName(java.lang.String namespace, java.lang.String localName)
          Get property name (all property names are cached for performance reasons and indexed by their full name).
 
Methods inherited from class com.sap.netweaver.bc.rf.util.namespace.Name
checkConstraints, checkLocalNameConstraints, checkNamespaceConstraints, getFullName, getLocalName, getName, getName, getNamespace, getNamespaceOrNull
 
Methods inherited from class com.sap.netweaver.bc.rf.util.flyweight.FlyWeight
clone, equals, getAllFlyWeights, getAllFlyWeightsInherited, getFlyWeight, getFlyWeightId, getFlyWeightInherited, hashCode, removeAllFlyWeights, removeAllFlyWeightsInherited, removeFlyWeight, removeFlyWeightInherited, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sap.netweaver.bc.rf.util.namespace.IName
getFullName, getLocalName, getNamespace, getNamespaceOrNull
 

Field Detail

RESOURCENAME

public static final IPropertyName RESOURCENAME
Property describing the repository supplied resource name, i.e. the last RID part

RESOURCETYPE

public static final IPropertyName RESOURCETYPE
Property describing the repository supplied resource type

CREATED

public static final IPropertyName CREATED
Property describing when the resource was created

CREATEDBY

public static final IPropertyName CREATEDBY
Property describing the user who created the resource

MODIFIED

public static final IPropertyName MODIFIED
Property describing when the resource was last modified

MODIFIEDBY

public static final IPropertyName MODIFIEDBY
Property describing who modified the resource last

COLLECTION

public static final IPropertyName COLLECTION
Property describing whether or not the resource is a collection

LINKTYPE

public static final IPropertyName LINKTYPE
Property describing of which link type a resource is (see namespace for link type ids)

READONLY

public static final IPropertyName READONLY
Property describing whether or not the resource is read only

HIDDEN

public static final IPropertyName HIDDEN
Property describing whether or not the resource is hidden

DISPLAYNAME

public static final IPropertyName DISPLAYNAME
Property describing the display name of the resource

DESCRIPTION

public static final IPropertyName DESCRIPTION
Property describing the resource itself

CONTENTLENGTH

public static final IPropertyName CONTENTLENGTH
Property describing the content length of the resource

CONTENTTYPE

public static final IPropertyName CONTENTTYPE
Property describing the content type of the resource

CONTENTENCODING

public static final IPropertyName CONTENTENCODING
Property describing the content encoding of the resource

CONTENTLANGUAGE

public static final IPropertyName CONTENTLANGUAGE
Property describing the content language of the resource

ETAG

public static final IPropertyName ETAG
Property describing an entity tag reflecting the HTTP entity tag for the unfiltered content of this resource. If two strong entity tags for a given resource are identical, the contents are identical octet-by-octet. If two weak entitiy tags are identical, the contents are semantically equivalent, but may differ in it's octet representation. Tags are weak if and only if they start with a leading "W/". Note: The ETag of a resource is not a unique identifier.
Method Detail

getPropertyName

public static IPropertyName getPropertyName(IName name)
                                     throws AbstractPropertyException
Get property name (all property names are cached for performance reasons and indexed by their full name). If it isn't available, it will be created automatically.
Parameters:
name - property name
Returns:
propertyName
Throws:
AbstractPropertyException - Exception raised in failure situation

getPropertyName

public static IPropertyName getPropertyName(java.lang.String fullName)
                                     throws AbstractPropertyException
Get property name (all property names are cached for performance reasons and indexed by their full name). If it isn't available, it will be created automatically.
Parameters:
fullName - property full name
Returns:
propertyName
Throws:
AbstractPropertyException - Exception raised in failure situation

getPropertyName

public static IPropertyName getPropertyName(java.lang.String namespace,
                                            java.lang.String localName)
                                     throws AbstractPropertyException
Get property name (all property names are cached for performance reasons and indexed by their full name). If it isn't available, it will be created automatically.
Parameters:
namespace - property namespace
localName - property local name
Returns:
propertyName
Throws:
AbstractPropertyException - Exception raised in failure situation

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.