Methods Summary |
---|
public void | deleteActor()
_Actor = null;
invalidate();
|
public void | emptyActor()
_Actor = PredicatedLists.createInvalidating(this, pred_Actor, new ArrayList());
|
public boolean | equals(java.lang.Object ob)
if (this == ob) {
return true;
}
if (!(ob instanceof Cast)) {
return false;
}
Cast tob = ((Cast) ob);
if (_Actor!= null) {
if (tob._Actor == null) {
return false;
}
if (!_Actor.equals(tob._Actor)) {
return false;
}
} else {
if (tob._Actor!= null) {
return false;
}
}
return true;
|
public java.util.List | getActor()
return _Actor;
|
public int | hashCode()
int h = 0;
h = ((127 *h)+((_Actor!= null)?_Actor.hashCode(): 0));
return h;
|
public void | marshal(javax.xml.bind.Marshaller m)
XMLWriter w = m.writer();
w.start("cast");
for (Iterator i = _Actor.iterator(); i.hasNext(); ) {
m.marshal(((MarshallableObject) i.next()));
}
w.end("cast");
|
public static javax.xml.bind.Dispatcher | newDispatcher()
return Actor.newDispatcher();
|
public java.lang.String | toString()
StringBuffer sb = new StringBuffer("<<cast");
if (_Actor!= null) {
sb.append(" actor=");
sb.append(_Actor.toString());
}
sb.append(">>");
return sb.toString();
|
public static javajaxb.generated.movies.Cast | unmarshal(javax.xml.marshal.XMLScanner xs, javax.xml.bind.Dispatcher d)
return ((Cast) d.unmarshal(xs, (Cast.class)));
|
public void | unmarshal(javax.xml.bind.Unmarshaller u)
XMLScanner xs = u.scanner();
Validator v = u.validator();
xs.takeStart("cast");
while (xs.atAttribute()) {
String an = xs.takeAttributeName();
throw new InvalidAttributeException(an);
}
{
List l = PredicatedLists.create(this, pred_Actor, new ArrayList());
while (xs.atStart("actor")) {
l.add(((Actor) u.unmarshal()));
}
_Actor = PredicatedLists.createInvalidating(this, pred_Actor, l);
}
xs.takeEnd("cast");
|
public static javajaxb.generated.movies.Cast | unmarshal(java.io.InputStream in)
return unmarshal(XMLScanner.open(in));
|
public static javajaxb.generated.movies.Cast | unmarshal(javax.xml.marshal.XMLScanner xs)
return unmarshal(xs, newDispatcher());
|
public void | validate(javax.xml.bind.Validator v)
for (Iterator i = _Actor.iterator(); i.hasNext(); ) {
v.validate(((ValidatableObject) i.next()));
}
|
public void | validateThis()
if (_Actor == null) {
throw new MissingContentException("actor");
}
|