|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttv.amwa.maj.argument.DefinitionCriteria
tv.amwa.maj.argument.DefinitionCriteriaByClass
public class DefinitionCriteriaByClass
Implementation of a criteria for matching a definition determined by reference to the unique identifier of a class definition.
Constructor Summary | |
---|---|
DefinitionCriteriaByClass(AUID classId)
Create a criteria for matching a definition from the unique identification of a class. |
Method Summary | |
---|---|
DefinitionCriteriaByClass |
clone()
|
boolean |
equals(Object o)
|
AUID |
getClassId()
Returns the class identifier defining this definition criteria. |
int |
hashCode()
|
void |
setClassId(AUID classId)
Sets the class identifier defining this definition criteria. |
String |
toString()
Creates a pseudo-XML representation of this definition criteria. |
Methods inherited from class tv.amwa.maj.argument.DefinitionCriteria |
---|
getDefinitionType |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.union.DefinitionCriteria |
---|
getDefinitionType |
Constructor Detail |
---|
public DefinitionCriteriaByClass(AUID classId) throws NullPointerException
Create a criteria for matching a definition from the unique identification of a class.
classId
- Unique identifier of a class providing this definition criteria.
NullPointerException
- The given class identifier is null
.Method Detail |
---|
public AUID getClassId()
DefinitionCriteriaByClass
Returns the class identifier defining this definition criteria.
getClassId
in interface DefinitionCriteriaByClass
public void setClassId(AUID classId) throws NullPointerException
DefinitionCriteriaByClass
Sets the class identifier defining this definition criteria.
setClassId
in interface DefinitionCriteriaByClass
classId
- Class identifier defining this definition criteria.
NullPointerException
- The class identifier value is null
.public boolean equals(Object o)
equals
in class Object
public String toString()
Creates a pseudo-XML representation of this definition criteria. No XML schema or DTD is defined. For example:
<DefinitionCriteria classId="urn:x-ul:060e2b34.0206.0101.0d010101.0101.1f00"/>
toString
in class Object
public DefinitionCriteriaByClass clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public int hashCode()
hashCode
in class Object
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |