Methods Summary |
---|
public void | _parseDetails(java.nio.ByteBuffer content)
parseVersionAndFlags(content);
language = IsoTypeReader.readIso639(content);
name = IsoTypeReader.readString(content);
role = IsoTypeReader.readUInt8(content);
longitude = IsoTypeReader.readFixedPoint1616(content);
latitude = IsoTypeReader.readFixedPoint1616(content);
altitude = IsoTypeReader.readFixedPoint1616(content);
astronomicalBody = IsoTypeReader.readString(content);
additionalNotes = IsoTypeReader.readString(content);
|
public java.lang.String | getAdditionalNotes()
return additionalNotes;
|
public double | getAltitude()
return altitude;
|
public java.lang.String | getAstronomicalBody()
return astronomicalBody;
|
protected void | getContent(java.nio.ByteBuffer byteBuffer)
writeVersionAndFlags(byteBuffer);
IsoTypeWriter.writeIso639(byteBuffer, language);
byteBuffer.put(Utf8.convert(name));
byteBuffer.put((byte) 0);
IsoTypeWriter.writeUInt8(byteBuffer, role);
IsoTypeWriter.writeFixedPoint1616(byteBuffer, longitude);
IsoTypeWriter.writeFixedPoint1616(byteBuffer, latitude);
IsoTypeWriter.writeFixedPoint1616(byteBuffer, altitude);
byteBuffer.put(Utf8.convert(astronomicalBody));
byteBuffer.put((byte) 0);
byteBuffer.put(Utf8.convert(additionalNotes));
byteBuffer.put((byte) 0);
|
protected long | getContentSize()
return 22 + Utf8.convert(name).length + Utf8.convert(astronomicalBody).length + Utf8.convert(additionalNotes).length;
|
public java.lang.String | getLanguage()
return language;
|
public double | getLatitude()
return latitude;
|
public double | getLongitude()
return longitude;
|
public java.lang.String | getName()
return name;
|
public int | getRole()
return role;
|
public void | setAdditionalNotes(java.lang.String additionalNotes)
this.additionalNotes = additionalNotes;
|
public void | setAltitude(double altitude)
this.altitude = altitude;
|
public void | setAstronomicalBody(java.lang.String astronomicalBody)
this.astronomicalBody = astronomicalBody;
|
public void | setLanguage(java.lang.String language)
this.language = language;
|
public void | setLatitude(double latitude)
this.latitude = latitude;
|
public void | setLongitude(double longitude)
this.longitude = longitude;
|
public void | setName(java.lang.String name)
this.name = name;
|
public void | setRole(int role)
this.role = role;
|