public abstract class AbstractControl extends Object implements Control
Control interface with storage for
the OID and the criticality properties. When the codec factory service
does not have specific control factories available, hence the control is
unrecognized, it creates instances of this control for them.| Constructor and Description |
|---|
AbstractControl(String oid)
Creates a Control with a specific OID.
|
AbstractControl(String oid,
boolean criticality)
Creates a Control with a specific OID, and criticality set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getOid()
Get the OID
|
int |
hashCode() |
boolean |
isCritical()
Get the criticality
|
void |
setCritical(boolean criticality)
Set the criticality
|
String |
toString()
Return a String representing a Control
|
public AbstractControl(String oid)
oid - The OID of this Control.public AbstractControl(String oid, boolean criticality)
oid - The OID of this Control.criticality - true if this Control is critical, false otherwise.public String getOid()
public boolean isCritical()
isCritical in interface Controltrue if the criticality flag is true.public void setCritical(boolean criticality)
setCritical in interface Controlcriticality - The criticality valuepublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object o)
equals in class ObjectObject.equals(Object)Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.