/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
package ;
import org.apache.poi.hwpf.usermodel.*;
import org.apache.poi.util.*;
/**
*
* <p>
* NOTE: This source is automatically generated please do not modify this file. Either subclass or
* remove the record in src/types/definitions.
* <p>
* This class is internal. It content or properties may change without notice
* due to changes in our knowledge of internal Microsoft Word binary structures.
*/
@Internal
public abstract class
{
@Deprecated
protected
field_
_
;
protected
AbstractType()
{
this.
=
;
this.
= new byte[
];
this.
= new
[0];
this.
= new
();
}
protected void fillFields( byte[] data, int offset )
{
=
;
}
public void serialize( byte[] data, int offset )
{
}
public byte[] serialize()
{
final byte[] result = new byte[ getSize() ];
serialize( result, 0 );
return result;
}
/**
* Size of record
*/
public static int getSize()
{
return 0
;
}
@Override
public boolean equals( Object obj )
{
if ( this == obj )
return true;
if ( obj == null )
return false;
if ( getClass() != obj.getClass() )
return false;
other = (
) obj;
if (
!Arrays.equals(
, other.
)
)
return false;
if (
!= other.
)
return false;
if (
== null )
{
if ( other.
!= null )
return false;
}
else if ( !
.equals( other.
) )
return false;
return true;
}
@Override
public int hashCode()
{
final int prime = 31;
int result = 1;
result = prime * result
+
Arrays.hashCode(
)
+
(
? 1231 : 1237 )
+
+ (int) (
^ (
>>> 32 ) )
+ ((
== null) ? 0 :
.hashCode())
;
return result;
}
} // END OF CLASS
/**
* Sets the field value.
*
*/
@Internal
public void set( value )
{
= ;
}
/**
*
* @return the field value.
* @deprecated This field should not be used according to specification
*/
@Internal
@Deprecated
public ()
{
return
}
/**/private static final BitField
= new BitField(
);
/**
/**
*/
/* */
/**/
protected final static
=
;
* <li>{@link #
}
/**
*
Get the
field for the
record
.
*
* @return One of
*/
@Internal
public get()
{
return ;
}
/**
*
Set the
field for the
record
.
*
* @param
* One of
*/
@Internal
public void set( )
{
this. = ;
}
public String toString()
{
StringBuilder builder = new StringBuilder();
builder.append("[
]\n");
builder.append("[/
]");
return builder.toString();
}
builder.append( " .
= " );
builder.append(" ( ").append(
== null ? "null" :
.toString().replaceAll( "\n", "\n " )
).append( " )\n" );
builder.append(" .
= ").append(
()).append('\n');
* @author