|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tv.amwa.maj.argument.IdentificationCriteria tv.amwa.maj.argument.IdentificationCriteriaByIdProductID
public class IdentificationCriteriaByIdProductID
Implementation of a criteria for matching an identification by its product id.
Constructor Summary | |
---|---|
IdentificationCriteriaByIdProductID(AUID productId)
Create a criteria for matching an identification defined by the given product id. |
Method Summary | |
---|---|
IdentificationCriteriaByIdProductID |
clone()
|
boolean |
equals(Object o)
|
AUID |
getProductID()
Returns the product id that defines this identification criteria as an AUID . |
int |
hashCode()
|
void |
setProductID(AUID productId)
Sets the product id that defines this identification criteria. |
String |
toString()
Pseudo-XML representation of this identification criteria. |
Methods inherited from class tv.amwa.maj.argument.IdentificationCriteria |
---|
getIdentificationCriteriaType |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.union.IdentificationCriteria |
---|
getIdentificationCriteriaType |
Constructor Detail |
---|
public IdentificationCriteriaByIdProductID(AUID productId) throws NullPointerException
Create a criteria for matching an identification defined by the given product id.
productId
- Product identifier defining the new identification criteria.
NullPointerException
- The given product id is null
.Identification.getProductID()
Method Detail |
---|
public AUID getProductID()
IdentificationCriteriaByIdProductID
Returns the product id that defines this
identification criteria as an AUID
.
getProductID
in interface IdentificationCriteriaByIdProductID
public void setProductID(AUID productId) throws NullPointerException
IdentificationCriteriaByIdProductID
Sets the product id that defines this identification criteria.
setProductID
in interface IdentificationCriteriaByIdProductID
productId
- Product id of this identification criteria.
NullPointerException
- The given product id is null
.public boolean equals(Object o)
equals
in class Object
public String toString()
Pseudo-XML representation of this identification criteria. No corresponding XML schema or DTD is defined. For example:
<IdentificationCriteria productId="urn:uuid:7ab65789-dfed-7891-f6b7-a8d67892"/>
toString
in class Object
public IdentificationCriteriaByIdProductID 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 |