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

Part Number E41849-02

weblogic.wsee.policy.framework
Class PolicyStatement

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

Deprecated.

public class PolicyStatement
extends PolicyExpression
implements Externalizable

Represents a policy statement, which is a unit of policy that in compact form consists of the element <wsp:Policy> ... </wsp:Policy> and its contents.

The contents of a policy statement are a sequence of policy expressions which are implicitly ALL'ed together.

See Also:
Serialized Form

Field Summary
protected  String id
          Deprecated.  
 
Fields inherited from class weblogic.wsee.policy.framework.PolicyExpression
assertion, expressions, operator, policyNamespaceUri
 
Constructor Summary
  PolicyStatement()
          Deprecated.  
protected PolicyStatement(String id)
          Deprecated.  
  PolicyStatement(String id, String policyNamespaceUri)
          Deprecated.  
 
Method Summary
static PolicyStatement createPolicyStatement(String id)
          Deprecated. Factory method to create a PolicyStatement instance.
 boolean equals(Object anObject)
          Deprecated.  
 String getId()
          Deprecated. Return the value of the Id attribute which is used as a fragment identifier when referencing a policy by URI
 int hashCode()
          Deprecated.  
 boolean isHasUnresolvedReferences()
          Deprecated.  
 void readExternal(ObjectInput in)
          Deprecated. implement readExternal() of Externalizable interface
 void setHasUnresolvedReferences(boolean hasUnresolvedReferences)
          Deprecated.  
 void setId(String id)
          Deprecated. Set the value of the Id attribute which is used as a fragment identifier when referencing a policy statement by URI
 String toString()
          Deprecated.  
 Element toXML()
          Deprecated.  
 Element toXML(Document doc)
          Deprecated. Serialize the policy statement into an XML representation
 void write(Element parent, WsdlWriter wsdlWriter)
          Deprecated. Write the statement to wsdl
 void writeExternal(ObjectOutput out)
          Deprecated. implement writeExternal() of Externalizable interface
 
Methods inherited from class weblogic.wsee.policy.framework.PolicyExpression
addExpression, addExpressions, createExpression, createTerminal, getAssertion, getExpressions, getPolicyNamespaceUri, isTerminal, normalize, resetExpressions, setAssertion, setPolicyNamespaceUri
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected String id
Deprecated. 
Constructor Detail

PolicyStatement

public PolicyStatement()
Deprecated. 

PolicyStatement

protected PolicyStatement(String id)
Deprecated. 

PolicyStatement

public PolicyStatement(String id,
                       String policyNamespaceUri)
Deprecated. 
Method Detail

getId

public String getId()
Deprecated. 
Return the value of the Id attribute which is used as a fragment identifier when referencing a policy by URI

Returns:
the value of the Id attibute

setId

public void setId(String id)
Deprecated. 
Set the value of the Id attribute which is used as a fragment identifier when referencing a policy statement by URI

Parameters:
id - the Id to be used

isHasUnresolvedReferences

public boolean isHasUnresolvedReferences()
Deprecated. 

setHasUnresolvedReferences

public void setHasUnresolvedReferences(boolean hasUnresolvedReferences)
Deprecated. 

createPolicyStatement

public static PolicyStatement createPolicyStatement(String id)
Deprecated. 
Factory method to create a PolicyStatement instance.

Returns:
the newly created PolicyStatement instance

toXML

public Element toXML(Document doc)
              throws PolicyException
Deprecated. 
Serialize the policy statement into an XML representation

Overrides:
toXML in class PolicyExpression
Parameters:
doc - The DOM Document node with which the XML is associated.
Returns:
Returns the DOM representation of the policy statement
Throws:
PolicyException - if there was a problem serializing to DOM

write

public void write(Element parent,
                  WsdlWriter wsdlWriter)
Deprecated. 
Write the statement to wsdl

Overrides:
write in class PolicyExpression
Parameters:
parent -
wsdlWriter -

toXML

public Element toXML()
              throws PolicyException
Deprecated. 
Throws:
PolicyException

toString

public String toString()
Deprecated. 
Overrides:
toString in class PolicyExpression

readExternal

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

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class PolicyExpression
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
Overrides:
writeExternal in class PolicyExpression
Parameters:
out -
Throws:
IOException

equals

public boolean equals(Object anObject)
Deprecated. 
Overrides:
equals in class Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

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