public class SortPropertyName extends Object implements ISortPropertyName, IPropertyName
SORT_ASCENDING, SORT_DESCENDING
Constructor and Description |
---|
SortPropertyName(IPropertyName propertyName,
PropertyType propertyType,
boolean sortDirection)
Creates a sort property from a property name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getName()
Returns the local name.
|
String |
getNamespace()
Returns the namespace URI (a missing namespace is mapped to an empty string).
|
String |
getNamespaceOrNull()
Returns the namespace URI (a missing namespace is mapped to
null ). |
IPropertyName |
getPropertyNameObject()
Returns the internal IPropertyName object.
|
PropertyType |
getPropertyType() |
boolean |
getSortDirection() |
int |
hashCode() |
String |
toString() |
public SortPropertyName(IPropertyName propertyName, PropertyType propertyType, boolean sortDirection) throws WcmException
propertyName
- propertyNamepropertyType
- propertyTypesortDirection
- sortDirectionWcmException
- WcmExceptionpublic boolean getSortDirection()
getSortDirection
in interface ISortPropertyName
public PropertyType getPropertyType()
getPropertyType
in interface ISortPropertyName
public String getNamespace()
getNamespace
in interface IName
public String getNamespaceOrNull()
null
).
Use this function if the value is going to be passed to a XML DOM level 2
method.getNamespaceOrNull
in interface IName
public String getName()
public IPropertyName getPropertyNameObject()
ISortPropertyName
getPropertyNameObject
in interface ISortPropertyName
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice