Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.wsee.policy.framework
Class PolicyAssertion

java.lang.Object
  extended by weblogic.wsee.policy.framework.PolicyAssertion
All Implemented Interfaces:
Externalizable, Serializable

Deprecated.

public abstract class PolicyAssertion
extends Object
implements Externalizable

The base class of all policy assertions. Because the foundation of policy expression arithmetic is performing set operations, it is extremely important that subclasses properly implement equals() and hashCode(); otherwise the results of policy evaluation will not be correct. It is also critical that subclasses implement java.io.Externalizable.

See Also:
Serialized Form

Nested Class Summary
static class PolicyAssertion.PolicySubject
          Deprecated.  
 
Field Summary
protected  boolean optional
          Deprecated.  
protected  String policyNamespaceUri
          Deprecated.  
 
Constructor Summary
PolicyAssertion()
          Deprecated.  
 
Method Summary
abstract  QName getName()
          Deprecated. Name of the policy assertion
 boolean getOptional()
          Deprecated. Return the value of the optional attribute of the assertion
 String getPolicyNamespaceUri()
          Deprecated.  
 PolicyAssertion.PolicySubject getPolicySubject()
          Deprecated. The policy subject apply to this assertion
 boolean isOptional()
          Deprecated. Return the value of the optional attribute of the assertion
 void readExternal(ObjectInput in)
          Deprecated. implement readExternal() of Externalizable interface
abstract  Element serialize(Document doc)
          Deprecated. Serialize the assertion to XML compact representation
 void setOptional(boolean optional)
          Deprecated. Set the value of the optional attribute of the assertion
 void setPolicyNamespaceUri(String policyNamespaceUri)
          Deprecated.  
 void setPolicySubject(PolicyAssertion.PolicySubject subject)
          Deprecated. Determine what policy subject the assertion belongs to
protected  void write(Element parent, WsdlWriter wsdlWriter)
          Deprecated. write assertion to wsdlWriter
 void writeExternal(ObjectOutput out)
          Deprecated. implement writeExternal() of Externalizable interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

optional

protected boolean optional
Deprecated. 

policyNamespaceUri

protected String policyNamespaceUri
Deprecated. 
Constructor Detail

PolicyAssertion

public PolicyAssertion()
Deprecated. 
Method Detail

getOptional

public boolean getOptional()
Deprecated. 
Return the value of the optional attribute of the assertion

Returns:
optional the value of the optional attribute

isOptional

public boolean isOptional()
Deprecated. 
Return the value of the optional attribute of the assertion

Returns:
optional the value of the optional attribute

setOptional

public void setOptional(boolean optional)
Deprecated. 
Set the value of the optional attribute of the assertion

Parameters:
optional - value of the optional attribute

setPolicySubject

public void setPolicySubject(PolicyAssertion.PolicySubject subject)
Deprecated. 
Determine what policy subject the assertion belongs to

Parameters:
subject -

getPolicyNamespaceUri

public String getPolicyNamespaceUri()
Deprecated. 

setPolicyNamespaceUri

public void setPolicyNamespaceUri(String policyNamespaceUri)
Deprecated. 

getPolicySubject

public PolicyAssertion.PolicySubject getPolicySubject()
Deprecated. 
The policy subject apply to this assertion


serialize

public abstract Element serialize(Document doc)
                           throws PolicyException
Deprecated. 
Serialize the assertion to XML compact representation

Parameters:
doc - The DOM Document with which the XML representation will be associated
Returns:
the root element of a DOM tree representing the assertion
Throws:
PolicyException

getName

public abstract QName getName()
Deprecated. 
Name of the policy assertion

Returns:
QName of assertion

write

protected void write(Element parent,
                     WsdlWriter wsdlWriter)
Deprecated. 
write assertion to wsdlWriter

Parameters:
parent -
wsdlWriter -

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Deprecated. 
implement readExternal() of Externalizable interface

Specified by:
readExternal in interface Externalizable
Parameters:
in -
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Deprecated. 
implement writeExternal() of Externalizable interface

Specified by:
writeExternal in interface Externalizable
Parameters:
out -
Throws:
IOException

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02