Skip to content

Commit

Permalink
test newline type
Browse files Browse the repository at this point in the history
  • Loading branch information
BenManwaring committed Aug 8, 2024
1 parent 2910dc0 commit 21b6a39
Show file tree
Hide file tree
Showing 289 changed files with 52,273 additions and 52,273 deletions.
672 changes: 336 additions & 336 deletions jgltf-impl-v1/src/main/java/de/javagl/jgltf/impl/v1/Animation.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,85 +1,85 @@
/*
* glTF JSON model
*
* Do not modify this class. It is automatically generated
* with JsonModelGen (https://github.com/javagl/JsonModelGen)
* Copyright (c) 2016 Marco Hutter - http://www.javagl.de
*/

package de.javagl.jgltf.impl.v1;



/**
* Targets an animation's sampler at a node's property.
*
* Auto-generated for animation.channel.schema.json
*
*/
public class AnimationChannel
extends GlTFProperty
{

/**
* The ID of a sampler in this animation used to compute the value for
* the target. (required)
*
*/
private String sampler;
/**
* The ID of the node and TRS property to target. (required)
*
*/
private AnimationChannelTarget target;

/**
* The ID of a sampler in this animation used to compute the value for
* the target. (required)
*
* @param sampler The sampler to set
* @throws NullPointerException If the given value is <code>null</code>
*
*/
public void setSampler(String sampler) {
if (sampler == null) {
throw new NullPointerException((("Invalid value for sampler: "+ sampler)+", may not be null"));
}
this.sampler = sampler;
}

/**
* The ID of a sampler in this animation used to compute the value for
* the target. (required)
*
* @return The sampler
*
*/
public String getSampler() {
return this.sampler;
}

/**
* The ID of the node and TRS property to target. (required)
*
* @param target The target to set
* @throws NullPointerException If the given value is <code>null</code>
*
*/
public void setTarget(AnimationChannelTarget target) {
if (target == null) {
throw new NullPointerException((("Invalid value for target: "+ target)+", may not be null"));
}
this.target = target;
}

/**
* The ID of the node and TRS property to target. (required)
*
* @return The target
*
*/
public AnimationChannelTarget getTarget() {
return this.target;
}

}
/*
* glTF JSON model
*
* Do not modify this class. It is automatically generated
* with JsonModelGen (https://github.com/javagl/JsonModelGen)
* Copyright (c) 2016 Marco Hutter - http://www.javagl.de
*/

package de.javagl.jgltf.impl.v1;



/**
* Targets an animation's sampler at a node's property.
*
* Auto-generated for animation.channel.schema.json
*
*/
public class AnimationChannel
extends GlTFProperty
{

/**
* The ID of a sampler in this animation used to compute the value for
* the target. (required)
*
*/
private String sampler;
/**
* The ID of the node and TRS property to target. (required)
*
*/
private AnimationChannelTarget target;

/**
* The ID of a sampler in this animation used to compute the value for
* the target. (required)
*
* @param sampler The sampler to set
* @throws NullPointerException If the given value is <code>null</code>
*
*/
public void setSampler(String sampler) {
if (sampler == null) {
throw new NullPointerException((("Invalid value for sampler: "+ sampler)+", may not be null"));
}
this.sampler = sampler;
}

/**
* The ID of a sampler in this animation used to compute the value for
* the target. (required)
*
* @return The sampler
*
*/
public String getSampler() {
return this.sampler;
}

/**
* The ID of the node and TRS property to target. (required)
*
* @param target The target to set
* @throws NullPointerException If the given value is <code>null</code>
*
*/
public void setTarget(AnimationChannelTarget target) {
if (target == null) {
throw new NullPointerException((("Invalid value for target: "+ target)+", may not be null"));
}
this.target = target;
}

/**
* The ID of the node and TRS property to target. (required)
*
* @return The target
*
*/
public AnimationChannelTarget getTarget() {
return this.target;
}

}
Original file line number Diff line number Diff line change
@@ -1,90 +1,90 @@
/*
* glTF JSON model
*
* Do not modify this class. It is automatically generated
* with JsonModelGen (https://github.com/javagl/JsonModelGen)
* Copyright (c) 2016 Marco Hutter - http://www.javagl.de
*/

package de.javagl.jgltf.impl.v1;



/**
* The ID of the node and TRS property that an animation channel targets.
*
* Auto-generated for animation.channel.target.schema.json
*
*/
public class AnimationChannelTarget
extends GlTFProperty
{

/**
* The ID of the node to target. (required)
*
*/
private String id;
/**
* The name of the node's TRS property to modify. (required)<br>
* Valid values: ["translation", "rotation", "scale"]
*
*/
private String path;

/**
* The ID of the node to target. (required)
*
* @param id The id to set
* @throws NullPointerException If the given value is <code>null</code>
*
*/
public void setId(String id) {
if (id == null) {
throw new NullPointerException((("Invalid value for id: "+ id)+", may not be null"));
}
this.id = id;
}

/**
* The ID of the node to target. (required)
*
* @return The id
*
*/
public String getId() {
return this.id;
}

/**
* The name of the node's TRS property to modify. (required)<br>
* Valid values: ["translation", "rotation", "scale"]
*
* @param path The path to set
* @throws NullPointerException If the given value is <code>null</code>
* @throws IllegalArgumentException If the given value does not meet
* the given constraints
*
*/
public void setPath(String path) {
if (path == null) {
throw new NullPointerException((("Invalid value for path: "+ path)+", may not be null"));
}
if (((!"translation".equals(path))&&(!"rotation".equals(path)))&&(!"scale".equals(path))) {
throw new IllegalArgumentException((("Invalid value for path: "+ path)+", valid: [\"translation\", \"rotation\", \"scale\"]"));
}
this.path = path;
}

/**
* The name of the node's TRS property to modify. (required)<br>
* Valid values: ["translation", "rotation", "scale"]
*
* @return The path
*
*/
public String getPath() {
return this.path;
}

}
/*
* glTF JSON model
*
* Do not modify this class. It is automatically generated
* with JsonModelGen (https://github.com/javagl/JsonModelGen)
* Copyright (c) 2016 Marco Hutter - http://www.javagl.de
*/

package de.javagl.jgltf.impl.v1;



/**
* The ID of the node and TRS property that an animation channel targets.
*
* Auto-generated for animation.channel.target.schema.json
*
*/
public class AnimationChannelTarget
extends GlTFProperty
{

/**
* The ID of the node to target. (required)
*
*/
private String id;
/**
* The name of the node's TRS property to modify. (required)<br>
* Valid values: ["translation", "rotation", "scale"]
*
*/
private String path;

/**
* The ID of the node to target. (required)
*
* @param id The id to set
* @throws NullPointerException If the given value is <code>null</code>
*
*/
public void setId(String id) {
if (id == null) {
throw new NullPointerException((("Invalid value for id: "+ id)+", may not be null"));
}
this.id = id;
}

/**
* The ID of the node to target. (required)
*
* @return The id
*
*/
public String getId() {
return this.id;
}

/**
* The name of the node's TRS property to modify. (required)<br>
* Valid values: ["translation", "rotation", "scale"]
*
* @param path The path to set
* @throws NullPointerException If the given value is <code>null</code>
* @throws IllegalArgumentException If the given value does not meet
* the given constraints
*
*/
public void setPath(String path) {
if (path == null) {
throw new NullPointerException((("Invalid value for path: "+ path)+", may not be null"));
}
if (((!"translation".equals(path))&&(!"rotation".equals(path)))&&(!"scale".equals(path))) {
throw new IllegalArgumentException((("Invalid value for path: "+ path)+", valid: [\"translation\", \"rotation\", \"scale\"]"));
}
this.path = path;
}

/**
* The name of the node's TRS property to modify. (required)<br>
* Valid values: ["translation", "rotation", "scale"]
*
* @return The path
*
*/
public String getPath() {
return this.path;
}

}
Loading

0 comments on commit 21b6a39

Please sign in to comment.