Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public virtual Boolean IsAbstract
/// Defines if current RecordClassDescriptor is content class.
/// </summary>
[SchemaElement(Name=null, Title=null, Description=null)]
[SchemaType(Encoding=null, IsNullable=false, DataType=SchemaDataType.Default, Minimum=null, Maximum=null, NestedTypes=new Type[0])]
[SchemaType(Encoding=null, IsNullable=true, DataType=SchemaDataType.Default, Minimum=null, Maximum=null, NestedTypes=new Type[0])]
public virtual Boolean IsContentClass
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class RecordClassDescriptor : ClassDescriptor {

/// Defines if current RecordClassDescriptor is content class.
[SchemaElement]
[SchemaType(IsNullable=false)]
[SchemaType(IsNullable=true)]
Boolean IsContentClass;

/// List of fields of a class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ public long getNanoTime() {
}

/**
* Indicated that this message has defined point in time.
* Indicated that this message has defined nanoseconds component of the time.
*/
public boolean hasNanoTime() {
return timestamp != TIMESTAMP_UNKNOWN;
return nanoTime != 0;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void nullifyIsAbstract() {
*/
@SchemaElement
@SchemaType(
isNullable = false
isNullable = true
)
public boolean isContentClass() {
return isContentClass == 1;
Expand Down