Methods Summary |
---|
public void | _parseDetails(java.nio.ByteBuffer content)
parseVersionAndFlags(content);
baseLocation = IsoTypeReader.readString(content);
content.get(new byte[256 - Utf8.utf8StringLengthInBytes(baseLocation) - 1]);
purchaseLocation = IsoTypeReader.readString(content);
content.get(new byte[256 - Utf8.utf8StringLengthInBytes(purchaseLocation) - 1]);
content.get(new byte[512]);
|
public boolean | equals(java.lang.Object o)
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
BaseLocationBox that = (BaseLocationBox) o;
if (baseLocation != null ? !baseLocation.equals(that.baseLocation) : that.baseLocation != null) return false;
if (purchaseLocation != null ? !purchaseLocation.equals(that.purchaseLocation) : that.purchaseLocation != null)
return false;
return true;
|
public java.lang.String | getBaseLocation()
return baseLocation;
|
protected void | getContent(java.nio.ByteBuffer byteBuffer)
writeVersionAndFlags(byteBuffer);
byteBuffer.put(Utf8.convert(baseLocation));
byteBuffer.put(new byte[256 - Utf8.utf8StringLengthInBytes(baseLocation)]); // string plus term zero
byteBuffer.put(Utf8.convert(purchaseLocation));
byteBuffer.put(new byte[256 - Utf8.utf8StringLengthInBytes(purchaseLocation)]); // string plus term zero
byteBuffer.put(new byte[512]);
|
protected long | getContentSize()
return 1028;
|
public java.lang.String | getPurchaseLocation()
return purchaseLocation;
|
public int | hashCode()
int result = baseLocation != null ? baseLocation.hashCode() : 0;
result = 31 * result + (purchaseLocation != null ? purchaseLocation.hashCode() : 0);
return result;
|
public void | setBaseLocation(java.lang.String baseLocation)
this.baseLocation = baseLocation;
|
public void | setPurchaseLocation(java.lang.String purchaseLocation)
this.purchaseLocation = purchaseLocation;
|