|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.wsee.policy.framework.PolicyAssertion
public abstract class PolicyAssertion
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.
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 |
---|
protected boolean optional
protected String policyNamespaceUri
Constructor Detail |
---|
public PolicyAssertion()
Method Detail |
---|
public boolean getOptional()
public boolean isOptional()
public void setOptional(boolean optional)
optional
- value of the optional attributepublic void setPolicySubject(PolicyAssertion.PolicySubject subject)
subject
- public String getPolicyNamespaceUri()
public void setPolicyNamespaceUri(String policyNamespaceUri)
public PolicyAssertion.PolicySubject getPolicySubject()
public abstract Element serialize(Document doc) throws PolicyException
doc
- The DOM Document with which the XML representation will be
associated
PolicyException
public abstract QName getName()
protected void write(Element parent, WsdlWriter wsdlWriter)
parent
- wsdlWriter
- public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
in
-
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
out
-
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |