Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


oracle.as.scheduler
Class IncompatibleEntity

java.lang.Object
  extended by oracle.as.scheduler.IncompatibleEntity

All Implemented Interfaces:
java.io.Serializable

public class IncompatibleEntity
extends java.lang.Object
implements java.io.Serializable

Encapsulates information for an Incompatibility entity.

See Also:
Serialized Form

Constructor Summary
IncompatibleEntity(IncompatibleEntity incompEntity)
          Creates a copy of the specified Incompatibilty object.
IncompatibleEntity(MetadataObjectId entity, boolean selfIncompatible)
          Creates a new incompatibility entity.
IncompatibleEntity(MetadataObjectId entity, java.lang.String property, boolean selfIncompatible)
          Creates a new incompatibility entity.

 

Method Summary
 boolean equals(java.lang.Object obj)
          Checks if the object is equal to this Incompatibility entity.
 MetadataObjectId getEntity()
          Returns the unique identifier for the JobDefinition or JobSet for this incompatible entity.
 java.lang.String getProperty()
          Returns the property associated with this incompatible entity.
 boolean isSelfIncompatible()
          Indicates if this incompatibility entity is self-incompatible.
 void setProperty(java.lang.String property)
          Sets the property associated with this Incompatibility entity.
 void setSelfIncompatible(boolean selfIncompatible)
          Sets the self-incompatible for this Incompatibility entity.

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

IncompatibleEntity

public IncompatibleEntity(MetadataObjectId entity,
                          boolean selfIncompatible)
Creates a new incompatibility entity.
Parameters:
entity - the unique identifier of the JobDefinition or JobSet definition.
selfIncompatible - true if this entity is self-incompatible, or false otherwise.

IncompatibleEntity

public IncompatibleEntity(MetadataObjectId entity,
                          java.lang.String property,
                          boolean selfIncompatible)
Creates a new incompatibility entity.
Parameters:
entity - the unique identifier of the JobDefinition or JobSet definition.
property - the property associated with the incompatibility entity. A property is not used for a global Incompatibility.
selfIncompatible - true if this entity is self-incompatible, or false otherwise.

IncompatibleEntity

public IncompatibleEntity(IncompatibleEntity incompEntity)
Creates a copy of the specified Incompatibilty object.
Parameters:
incompEntity - the object being copied. Cannot be null.

Method Detail

getEntity

public MetadataObjectId getEntity()
Returns the unique identifier for the JobDefinition or JobSet for this incompatible entity.
Returns:
the metadata object identifier

isSelfIncompatible

public boolean isSelfIncompatible()
Indicates if this incompatibility entity is self-incompatible.
Returns:
true if this entity is self-incompatible, or false otherwise.

setSelfIncompatible

public void setSelfIncompatible(boolean selfIncompatible)
Sets the self-incompatible for this Incompatibility entity.
Parameters:
selfIncompatible - true if this entity is self-incompatible, or false if not.

getProperty

public java.lang.String getProperty()
Returns the property associated with this incompatible entity. A property is not used for global Incompatibility.
Returns:
the property name, or null if none.

setProperty

public void setProperty(java.lang.String property)
Sets the property associated with this Incompatibility entity. A property is not used for a global Incompatibility.
Parameters:
property - the incompatibility property. This can be null.

equals

public boolean equals(java.lang.Object obj)
Checks if the object is equal to this Incompatibility entity.

Equal means that obj the same enitity identifer, property name, and self-incompatibility value.

Overrides:
equals in class java.lang.Object
Parameters:
obj - object to compare to this object.
Returns:
true if the object is considered equal, or false if not.

Skip navigation links

Oracle Enterprise Scheduler Java API Reference
11g Release 1 (11.1.1.7)
E26229-06


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.